Have ideas to improve npm?Join in the discussion! »

    patternfly-react-extensions

    3.0.13 • Public • Published

    patternfly-react-extensions

    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.

    Installing

    yarn add patternfly-react-extensions
    

    or

    npm install patternfly-react-extension --save
    

    Usage

    import { <component} from 'patternfly-react-extensions';

    Styling:

    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";
    

    Building

    yarn build
    

    Note the build scripts for this are located in the root package.json under yarn build.

    Testing

    Testing is done at the root of this repo. To only run the extensions tests:

    yarn test packages/patternfly-3/patternfly-react-extensions
    

    Publishing

    yarn publish
    

    Install

    npm i patternfly-react-extensions

    DownloadsWeekly Downloads

    740

    Version

    3.0.13

    License

    MIT

    Unpacked Size

    709 kB

    Total Files

    148

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar