diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx new file mode 100644 index 0000000..094538d --- /dev/null +++ b/src/components/Divider.tsx @@ -0,0 +1,29 @@ +import cx from 'clsx'; +import { Component, mergeProps } from 'solid-js'; + +interface DividerProps { + direction?: 'horizontal' | 'vertical'; + faded?: boolean; +} + +const Divider: Component = (props) => { + const mProps = mergeProps( + { + direction: 'horizontal', + faded: false, + }, + props, + ); + + return ( +
+ ); +}; + +export default Divider;