refactor: extract dropdown for Sort dropdown
This commit is contained in:
@ -80,14 +80,22 @@ function TableHeader({
|
||||
{viewName}
|
||||
</StyledViewSection>
|
||||
<StyledFilters>
|
||||
<DropdownButton label="Filter" options={[]} isActive={false} />
|
||||
<DropdownButton
|
||||
label="Filter"
|
||||
options={[]}
|
||||
isActive={false}
|
||||
></DropdownButton>
|
||||
<SortDropdownButton
|
||||
setSorts={setSorts}
|
||||
sorts={sorts}
|
||||
sortsAvailable={sortsAvailable}
|
||||
/>
|
||||
|
||||
<DropdownButton label="Settings" options={[]} isActive={false} />
|
||||
<DropdownButton
|
||||
label="Settings"
|
||||
options={[]}
|
||||
isActive={false}
|
||||
></DropdownButton>
|
||||
</StyledFilters>
|
||||
</StyledTableHeader>
|
||||
{sorts.length > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user