mars-v2-frontend/src/components/Divider.tsx
Bob van der Helm a4bbf92ced
Initialize perps (#648)
* setup routing

* add basic perps interface

* small fix
2023-11-23 15:42:08 +01:00

14 lines
401 B
TypeScript

import classNames from 'classnames'
interface Props {
orientation?: 'horizontal' | 'vertical'
className?: string
}
export default function Divider(props: Props) {
if (props.orientation === 'vertical') {
return <div className={classNames(props.className, 'h-full w-[1px] bg-white/10')}></div>
}
return <div className={classNames('h-[1px] w-full bg-white/10', props.className)}></div>
}