This package provides extensions to the Patternfly React components to be used alongside patternfly-react. The components in this package do not yet have associated patterns found on PatternFly.org.
yarn add patternfly-react-extensions
npm install patternfly-react-extension --save
Example with LESS:
@import "~bootstrap/less/variables"; @import "~patternfly/dist/less/variables"; @import "~patternfly-react/dist/less/patternfly-react.less"; @import "~patternfly-react-extensions/dist/less/patternfly-react-extensions.less";
Note the build scripts for this are located in the root package.json under
Testing is done at the root of this repo. To only run the extensions tests:
yarn test packages/patternfly-3/patternfly-react-extensions