@aqb-temp-solution/bootstrap
v6.6.3
Published
User-friendly query builder for React. Bootstrap widgets
Downloads
4
Maintainers
Readme
@aqb-temp-solution/bootstrap
This packages provides Bootstrap widgets
Installation
Peer dependencies that needs to be installed:
npm i bootstrap reactstrap @popperjs/core @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome --save
Install:
npm i @aqb-temp-solution/bootstrap --save
Usage
Use BootstrapConfig
.
Don't forget to import Bootstrap CSS: bootstrap/dist/css/bootstrap.min.css
.
See minimal example in readme with modifications at top:
// >>>
import type { JsonGroup, Config, ImmutableTree, BuilderProps } from '@aqb-temp-solution/bootstrap'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@aqb-temp-solution/bootstrap';
import { BootstrapConfig, BootstrapWidgets } from '@aqb-temp-solution/bootstrap';
import "bootstrap/dist/css/bootstrap.min.css";
import '@aqb-temp-solution/bootstrap/css/styles.css';
const InitialConfig = BootstrapConfig;
// <<<