* env: added sharp * fix: use dvh over vh * feat: prepared the trade view for perps and spot * fix: adjusted heights for Trade * feat: added Navigation submenu * feat: added first interface itteration * feat: added logic * feat: added pairsList * feat: finished Trade Spot Simple * fix: fixed Sell button * fix: adjusted capLeft logic and added sorting util * fix: order of values * fix: fixed the autoLend switch to be deselectable * env: bump version * fix: changes according to feedback * fix: fixed naming * tidy: refactor
19 lines
373 B
TypeScript
19 lines
373 B
TypeScript
import classNames from 'classnames'
|
|
|
|
interface Props {
|
|
orientation?: 'horizontal' | 'vertical'
|
|
className?: string
|
|
}
|
|
|
|
export default function Divider(props: Props) {
|
|
return (
|
|
<div
|
|
className={classNames(
|
|
props.orientation === 'vertical' ? 'h-full w-[1px]' : 'h-[1px] w-full',
|
|
props.className,
|
|
'bg-white/10',
|
|
)}
|
|
></div>
|
|
)
|
|
}
|