This packages provides Fluent UI v8 widgets
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
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;
// <<<