@aqb-temp-solution/antd
v6.6.3
Published
User-friendly query builder for React. AntDesign widgets
Downloads
7
Maintainers
Readme
@aqb-temp-solution/antd
This packages provides Ant Design widgets.
Installation
Peer dependencies that needs to be installed:
npm i antd @ant-design/icons --save
Install:
npm i @aqb-temp-solution/antd --save
Usage
Use AntdConfig
.
Only for antd v4 - please import antd/dist/antd.css
.
See minimal example in readme with modifications at top:
// >>>
import type { JsonGroup, Config, ImmutableTree, BuilderProps } from '@aqb-temp-solution/antd'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@aqb-temp-solution/antd';
import { AntdConfig, AntdWidgets } from '@aqb-temp-solution/antd';
//import "antd/dist/antd.css"; // only for v4
import '@aqb-temp-solution/antd/css/styles.css';
const InitialConfig = AntdConfig;
// <<<