diff --git a/apps/website/src/components/table-issues/filters/filter-with-checkboxes.tsx b/apps/website/src/components/table-issues/filters/dropdown-filter.tsx similarity index 92% rename from apps/website/src/components/table-issues/filters/filter-with-checkboxes.tsx rename to apps/website/src/components/table-issues/filters/dropdown-filter.tsx index 9f3dad3b..2a619d96 100644 --- a/apps/website/src/components/table-issues/filters/filter-with-checkboxes.tsx +++ b/apps/website/src/components/table-issues/filters/dropdown-filter.tsx @@ -20,7 +20,7 @@ type Data = { type Props = { data: Data[] label: string - noPadding?: boolean + placeholder?: string } const isAvatar = (value: unknown): value is string => { @@ -43,8 +43,8 @@ const RenderIcon = (props: Data) => { return cloneElement(props.avatar) || <> } -const FilterWithCheckboxes = (props: Props) => { - const { data, label, noPadding } = props +const DropdownFilter = (props: Props) => { + const { data, label, placeholder } = props const [filterText, setFilterText] = useState('') @@ -59,7 +59,7 @@ const FilterWithCheckboxes = (props: Props) => { const currentBreakpoint = useCurrentBreakpoint() return ( -
+
setIsOpen(!isOpen)}>