mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-27 05:20:36 +03:00
13 lines
264 B
TypeScript
13 lines
264 B
TypeScript
interface DividerProps {
|
|
vertical?: boolean
|
|
margins?: string
|
|
}
|
|
|
|
function Divider({ vertical, margins = 'mx-2' }: DividerProps) {
|
|
return (
|
|
<div className={`${margins} ${vertical ? 'border-x h-full': 'border-y w-full'}`} />
|
|
);
|
|
}
|
|
|
|
export default Divider;
|