fix(FE): fix page responsive in project flock dan marketing modules

This commit is contained in:
randy-ar
2025-12-27 16:36:07 +07:00
parent d49bca1d40
commit c44e63bd2b
10 changed files with 79 additions and 183 deletions
@@ -1,4 +1,5 @@
import SelectInput from '@/components/input/SelectInput';
import { cn } from '@/lib/helper';
export interface OptionType {
label: string;
@@ -10,6 +11,7 @@ interface TableRowSizeSelectorProps {
onChange: (val: OptionType | OptionType[] | null) => void;
options: OptionType[];
children?: React.ReactNode;
className?: string;
}
export const TableRowSizeSelector = ({
@@ -17,9 +19,10 @@ export const TableRowSizeSelector = ({
onChange,
options,
children,
className,
}: TableRowSizeSelectorProps) => {
return (
<div className='flex flex-row gap-3 items-end justify-end'>
<div className={cn('flex flex-row gap-3 items-end justify-end', className)}>
{children}
<SelectInput
label='Baris'