@react-awesome-query-builder/fluent
v6.6.4-alpha.0
Published
User-friendly query builder for React. Fluent 8 widgets
Downloads
1,063
Maintainers
Readme
@react-awesome-query-builder/fluent
This packages provides Fluent UI v8 widgets
Installation
Peer dependencies that needs to be installed:
npm i @fluentui/react @fluentui/react-icons @fluentui/font-icons-mdl2 --save
Install:
npm i @react-awesome-query-builder/fluent --save
Usage
Use FluentUIConfig
.
See minimal example in readme with modifications at top:
// >>>
import type { JsonGroup, Config, ImmutableTree, BuilderProps } from '@react-awesome-query-builder/fluent'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@react-awesome-query-builder/fluent';
import { FluentUIConfig, FluentUIWidgets } from '@react-awesome-query-builder/fluent';
import '@react-awesome-query-builder/fluent/css/styles.css';
const InitialConfig = FluentUIConfig;
// <<<