@react-awesome-query-builder/bootstrap
TypeScript icon, indicating that this package has built-in type declarations

6.6.4 • Public • Published

@react-awesome-query-builder/bootstrap

npm

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 @react-awesome-query-builder/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 '@react-awesome-query-builder/bootstrap'; // for TS example
import { Query, Builder, Utils as QbUtils } from '@react-awesome-query-builder/bootstrap';
import { BootstrapConfig, BootstrapWidgets } from '@react-awesome-query-builder/bootstrap';
import "bootstrap/dist/css/bootstrap.min.css";
import '@react-awesome-query-builder/bootstrap/css/styles.css';
const InitialConfig = BootstrapConfig;
// <<<

Package Sidebar

Install

npm i @react-awesome-query-builder/bootstrap

Weekly Downloads

289

Version

6.6.4

License

MIT

Unpacked Size

178 kB

Total Files

89

Last publish

Collaborators

  • ukrbublik