Skip to content

Commit

Permalink
Filter component and documentation added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon committed Jan 17, 2025
1 parent 8182a1c commit 30a1b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/frontend/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ import { Filter } from '@dokan/components';

| Prop | Type | Required | Description |
|------|------|----------|-------------|
| `namespace` | `string` | Yes | Unique identifier for the filter group |
| `fields` | `ReactNode[]` | No | Array of filter field components to be rendered |
| `onFilter` | `() => void` | No | Handler function called when the filter button is clicked |
| `onReset` | `() => void` | No | Handler function called when the reset button is clicked |
| `showFilter` | `boolean` | No | Controls visibility of the filter button (default: true) |
| `showReset` | `boolean` | No | Controls visibility of the reset button (default: true) |
| `namespace` | `string` | Yes | Unique identifier for the filter group |

## Example Implementation

Expand Down

0 comments on commit 30a1b26

Please sign in to comment.