Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@react-awesome-query-builder/fluent

npm

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;
// <<<