@aqb-temp-solution/material
v6.6.3
Published
User-friendly query builder for React. Material-UI 4 widgets
Downloads
2
Maintainers
Readme
@aqb-temp-solution/material
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 @aqb-temp-solution/material --save
Usage
Use MaterialConfig
.
See minimal example in readme with modifications at top:
// >>>
import type { JsonGroup, Config, ImmutableTree, BuilderProps } from '@aqb-temp-solution/material'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@aqb-temp-solution/material';
import { MaterialConfig, MaterialWidgets } from '@aqb-temp-solution/material';
import '@aqb-temp-solution/material/css/styles.css';
const InitialConfig = MaterialConfig;
// <<<