-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Clear filters on user and features page (#5055)
- Loading branch information
Showing
4 changed files
with
201 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React, { FC } from 'react' | ||
import { IonIcon } from '@ionic/react' | ||
import { closeCircle, informationCircleOutline } from 'ionicons/icons' | ||
|
||
type ClearFiltersType = { | ||
onClick: () => void | ||
} | ||
|
||
const ClearFilters: FC<ClearFiltersType> = ({ onClick }) => { | ||
return ( | ||
<div | ||
onClick={onClick} | ||
className='fw-semibold cursor-pointer text-primary d-flex align-items-center ms-2 gap-1' | ||
> | ||
<IonIcon className='h6 mb-0' color='#6837fc' icon={closeCircle} /> | ||
Clear all | ||
</div> | ||
) | ||
} | ||
|
||
export default ClearFilters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.