@equinor/fusion-react-filter
TypeScript icon, indicating that this package has built-in type declarations

1.8.4 • Public • Published

@equinor/fusion-react-filter Published on npm

Adds filter functionality through the FilterProvider. Also comes with various predefined filters and panels for building out a filter.

Consult the Storybook for more detailed examples and documentation.

Installation

npm install @equinor/fusion-react-filter

Example Usage

<FilterProvider initialData={data} initialFilters={initialFilters}>
  <MyFilterComponent />
  <MyApp />   
  </FilterProvider>

Properties/Attributes

Name Type Description
initialData Generic* Dataset for filtering. *Recommended type is TData[] or Record<string,TData>
initialFilters Record<string,any> Filter selection added at initiation

Package Sidebar

Install

npm i @equinor/fusion-react-filter

Weekly Downloads

88

Version

1.8.4

License

ISC

Unpacked Size

226 kB

Total Files

201

Last publish

Collaborators

  • gustav-eikaas
  • eslsa
  • martinforre
  • _odin_