Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@react-awesome-query-builder/material

npm

This packages provides Material-UI v4 widgets (deprecated)

Installation

Peer dependencies that needs to be installed:

npm i @material-ui/core @material-ui/lab @material-ui/icons @material-ui/pickers --save

Install:

npm i @react-awesome-query-builder/material --save

Usage

Use MaterialConfig.

See minimal example in readme with modifications at top:

// >>>
import type { JsonGroup, Config, ImmutableTree, BuilderProps } from '@react-awesome-query-builder/material'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@react-awesome-query-builder/material';
import { MaterialConfig, MaterialWidgets } from '@react-awesome-query-builder/material';
import '@react-awesome-query-builder/material/css/styles.css';
const InitialConfig = MaterialConfig;
// <<<