* feat: handle URLs with or without trailing slash (#803) * feat: handle URLs with or without trailing slash * tidy: cleanup slashes * Fix docker build (#805) * fix: fixed the docker build * tidy: cleanup * env: remove env contents (#808) * Portfolio fix (#809) * fix: fixed the portfolio account detail page layout * fix: fixed portfolio cards * tidy: refactor * align buttons, perps row clickable (#807) * align buttons, perps row clickable * fix comments * update to v2.2.4 * fix borrowbutton logic, add vault deposit manage btn, fix icon size vault modal --------- Co-authored-by: Linkie Link <linkielink.dev@gmail.com> --------- Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
22 lines
447 B
TypeScript
22 lines
447 B
TypeScript
import { ChevronDown, ChevronUp } from 'components/common/Icons'
|
|
|
|
export const CHEVRON_META = {
|
|
id: 'chevron',
|
|
enableSorting: false,
|
|
header: '',
|
|
meta: {
|
|
className: 'w-5',
|
|
},
|
|
}
|
|
|
|
interface Props {
|
|
isExpanded: boolean
|
|
}
|
|
export default function Chevron(props: Props) {
|
|
return (
|
|
<div className='flex items-center justify-end'>
|
|
<div className='w-4'>{props.isExpanded ? <ChevronUp /> : <ChevronDown />}</div>
|
|
</div>
|
|
)
|
|
}
|