mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
28 lines
618 B
TypeScript
28 lines
618 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
import { Icon } from '@iconify/react';
|
|
import Collapse from '@/components/Collapse';
|
|
import Button from '@/components/Button';
|
|
|
|
interface RowCollapseOptionsProps {
|
|
children?: ReactNode;
|
|
}
|
|
|
|
const RowCollapseOptions = ({ children }: RowCollapseOptionsProps) => {
|
|
return (
|
|
<Collapse
|
|
title={
|
|
<Button>
|
|
<Icon icon='material-symbols:more-vert' width={16} height={16} />
|
|
</Button>
|
|
}
|
|
className='w-fit min-w-36'
|
|
titleClassName='p-0! justify-self-end'
|
|
>
|
|
{children}
|
|
</Collapse>
|
|
);
|
|
};
|
|
|
|
export default RowCollapseOptions;
|