From 34e9e6017388e1363089f50da7edc9fb748aaca7 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Sat, 4 Oct 2025 12:19:01 +0700 Subject: [PATCH] feat(FE-43): create RowCollapseOptions component --- src/components/table/RowCollapseOptions.tsx | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/components/table/RowCollapseOptions.tsx diff --git a/src/components/table/RowCollapseOptions.tsx b/src/components/table/RowCollapseOptions.tsx new file mode 100644 index 00000000..42f9720a --- /dev/null +++ b/src/components/table/RowCollapseOptions.tsx @@ -0,0 +1,27 @@ +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 ( + + + + } + className='w-fit' + titleClassName='p-0! justify-self-end' + > + {children} + + ); +}; + +export default RowCollapseOptions;