Fix: Moved Divider to v2

This commit is contained in:
Daniel Hougaard
2024-05-07 17:30:35 +02:00
parent 24a286e898
commit f038b28c1c
2 changed files with 2 additions and 3 deletions
@@ -4,12 +4,10 @@ interface IProps {
className?: string; className?: string;
} }
const Divider = ({ className }: IProps): JSX.Element => { export const Divider = ({ className }: IProps): JSX.Element => {
return ( return (
<div className={twMerge("flex items-center px-2 opacity-50", className)}> <div className={twMerge("flex items-center px-2 opacity-50", className)}>
<div aria-hidden="true" className="h-5 w-full grow border border-t border-mineshaft-200" /> <div aria-hidden="true" className="h-5 w-full grow border border-t border-mineshaft-200" />
</div> </div>
); );
}; };
export default Divider;
@@ -0,0 +1 @@
export { Divider } from "./Divider";