1.0.0 • Published 15 days ago

@f1stnpm2/repudiandae-numquam-exercitationem v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
15 days ago

@f1stnpm2/repudiandae-numquam-exercitationem

NPM Version Build Status Coverage Status License

@f1stnpm2/repudiandae-numquam-exercitationem

Stateless React Components for Bootstrap 5.

If you're using Bootstrap 4, you'll need to use Reactstrap v8

Getting Started

Follow the create-react-app instructions to get started and then follow the @f1stnpm2/repudiandae-numquam-exercitationem version of adding bootstrap.

tl;dr

npx create-react-app my-app
cd my-app/
npm start

or, if npx (Node >= 6 and npm >= 5.2 ) not available

npm install -g create-react-app

create-react-app my-app
cd my-app/
npm start

Then open http://localhost:3000/ to see your app. The initial structure of your app is setup. Next, let's add @f1stnpm2/repudiandae-numquam-exercitationem and bootstrap.

Adding Bootstrap

Install @f1stnpm2/repudiandae-numquam-exercitationem and Bootstrap from NPM. Reactstrap does not include Bootstrap CSS so this needs to be installed as well:

npm i bootstrap
npm i @f1stnpm2/repudiandae-numquam-exercitationem react react-dom

Import Bootstrap CSS in the src/index.js file:

import 'bootstrap/dist/css/bootstrap.css';

Import required @f1stnpm2/repudiandae-numquam-exercitationem components within src/App.js file or your custom component files:

import { Button } from '@f1stnpm2/repudiandae-numquam-exercitationem';

Now you are ready to use the imported @f1stnpm2/repudiandae-numquam-exercitationem components within your component hierarchy defined in the render method. Here is an example App.js redone using @f1stnpm2/repudiandae-numquam-exercitationem.

Dependencies

Required Peer Dependencies

These libraries are not bundled with Reactstrap and required at runtime:

About the Project

This library contains React Bootstrap components that favor composition and control. The library does not depend on jQuery or Bootstrap javascript. However, Poppers.js via react-popper is relied upon for advanced positioning of content like Tooltips, Popovers, and auto-flipping Dropdowns.

There are a few core concepts to understand in order to make the most out of this library.

  1. Your content is expected to be composed via props.children rather than using named props to pass in Components.

    // Content passed in via props
    const Example = (props) => {
      return (
        <p>This is a tooltip <TooltipTrigger tooltip={TooltipContent}>example</TooltipTrigger>!</p>
      );
    }
    
    // Content passed in as children (Preferred)
    const PreferredExample = (props) => {
      return (
        <p>
          This is a <a href="#" id="TooltipExample">tooltip</a> example.
          <Tooltip target="TooltipExample">
            <TooltipContent/>
          </Tooltip>
        </p>
      );
    }
  2. Attributes in this library are used to pass in state, conveniently apply modifier classes, enable advanced functionality (like tether), or automatically include non-content based elements.

    Examples:

    • isOpen - current state for items like dropdown, popover, tooltip
    • toggle - callback for toggling isOpen in the controlling component
    • color - applies color classes, ex: <Button color="danger"/>
    • size - for controlling size classes. ex: <Button size="sm"/>
    • tag - customize component output by passing in an element name or Component
    • boolean based props (attributes) when possible for alternative style classes or visually-hidden content

Documentation

https://@f1stnpm2/repudiandae-numquam-exercitationem.github.io

Documentation search is powered by Algolia's DocSearch.

CodeSandbox Examples

Here are some ready-to-go examples for CodeSandbox that you can experiment with.

https://github.com/@f1stnpm2/repudiandae-numquam-exercitationem/code-sandbox-examples

Contributing

Development

Install dependencies:

yarn install

Run examples at http://localhost:8080/ with webpack dev server:

yarn start

Run tests & coverage report:

yarn cover

Watch tests:

yarn test

Releasing

Release branches/versioning/notes will be automatically created and maintained by the release-please github action. When you're ready to publish the release, just merge the release branch. The release will be created, the new package will be published, and the updated docs will be deployed to https://@f1stnpm2/repudiandae-numquam-exercitationem.github.io/.

In the wild

Organizations and projects using @f1stnpm2/repudiandae-numquam-exercitationem

Submit a PR to add to this list!

Looking to build, document and publish reusable components built on top of @f1stnpm2/repudiandae-numquam-exercitationem? Consider forking https://github.com/@f1stnpm2/repudiandae-numquam-exercitationem/component-template to kickstart your project!

callgetPrototypeOfdropnopeposebootstrap lesswhatwgfastifyterminales-shim APIqsmkdirlockfilewaitprotobuffseventsfullwidthcjkhasOwnconcatbyteArrayBufferES2016streamsmruttyclassnamequeueMicrotaskcircularchineseprogressObject.is$.extendsignalsfast-deep-copythrottlestringifyjoiestreecompareconcatMappropertiesdirReactiveXsignaljsonstreams2genericsrfc4122syntaxerrortsmime-dbwindowsdatastructureInt8ArrayencryptionvarimporteventEmitterreact animationsanitizeArray.prototype.filtershellArray.prototype.flattenmiddlewarewgetparsermoveStreamsoperating-systemartmakewaapiFunction.prototype.namecss variablecachetypeofparentstyletranspilertraversejQueryreal-time_.extendastnumberreadablestreamcoloursettingskoreanrecursivepostcss-pluginforEachFloat64ArraybannerauthsyntaxES2022gesturesschemaclientcallboundregularpnpm9privateinternalisConcatSpreadablechaimatchesargparsenpmmixinsexit-codeObject.entriesvaluesexeclinuxtakefull-widthquoteratelimitopenertypanionUint32Arraywarningshimreduceutilextraprototypeajvrm -frconcurrencysearchInt32Arrayes-abstracta11ytyped arrayerrorchecktextObjectautoprefixercallbindIteratorECMAScript 2019es5arktypeCSSjsonschemaerror-handlingsigintstart@@toStringTagdeepansisigtermeventDispatcherfileES2020tddcss lessform-validationtouchtostringtagcensorhttpseast-asian-widthhasrgbformsoptimizerfetchRxlinewrapES5sameValueZeroimmerrandomstylesheetvalidationdebuggerbuffersArray.prototype.flatzodes6querystringstringifierescapesuperagentwatchinterruptslengthclonebrowserlistcommanderviewpackagesfullserializecollection.es6definenodegrouppromiseWeakSetRxJSfastcopyArray.prototype.containscryptfast-deep-clonefilterbatchsuperstructjwtmatchAllrmdirnegative zerospinnerreact posewalkingECMAScript 5entrieshookswordwrapfast-copywebcurriedreduxMappolyfillstyled-componentswidthtrimStartdayjsprefixexpression3dwritestylingirqcolorsidjsdiffspectypedtrimRightregular expressionsWebSocketsflatstatusString.prototype.trimaccessibilitycall-bindgetintrinsicbreakcodeslazyqueuecmdmatches2017persistentglobpoint-freesharedarraybufferarraysutilitiesreact-hooksiteratorkeystarterponyfilleslintmacossidemergepropertyflatMappruneWeakMaptermdommomentassertvalueUnderscorebundlingrangeerrorreduceravaduplexHyBifolderprocesscorsUint8Arrayinstallio-tsjson-schema-validationawesomesauceReflect.getPrototypeOffrombootstrap cssquerydateObject.assignrapidrobustperformanceregular expression
@f1stnpm2/iusto-expedita-nostrum@f1stnpm2/laborum-earum-porro@f1stnpm2/iste-qui-architecto@f1stnpm2/itaque-rem-aut@f1stnpm2/iure-cum-quaerat@f1stnpm2/iure-nam-magnam@f1stnpm2/iure-sed-libero@f1stnpm2/incidunt-reiciendis-quod@f1stnpm2/incidunt-unde-repudiandae@f1stnpm2/inventore-eius-repellendus@f1stnpm2/inventore-minima-aut@f1stnpm2/ipsa-necessitatibus-fugit@f1stnpm2/iste-exercitationem-iste@f1stnpm2/ipsa-repellendus-expedita@f1stnpm2/ipsam-at-asperiores@f1stnpm2/pariatur-consequuntur-officia@f1stnpm2/praesentium-eveniet-quaerat@f1stnpm2/praesentium-repellat-officiis@f1stnpm2/provident-adipisci-nostrum@f1stnpm2/provident-non-possimus@f1stnpm2/provident-veniam-officia@f1stnpm2/quaerat-facere-esse@f1stnpm2/quam-aut-enim@f1stnpm2/quas-asperiores-explicabo@f1stnpm2/quas-molestiae-accusantium@f1stnpm2/quasi-laborum-optio@f1stnpm2/perferendis-aut-officia@f1stnpm2/perferendis-molestias-dicta@f1stnpm2/perferendis-quia-ad@f1stnpm2/perspiciatis-aut-accusamus@f1stnpm2/perspiciatis-officia-at@f1stnpm2/placeat-atque-sapiente@f1stnpm2/odit-suscipit-ad@f1stnpm2/officia-est-sapiente@f1stnpm2/praesentium-asperiores-facere@f1stnpm2/placeat-eos-quibusdam@f1stnpm2/aspernatur-facilis-animi@f1stnpm2/at-dignissimos-cumque@f1stnpm2/at-fugit-id@f1stnpm2/at-modi-voluptate@f1stnpm2/beatae-dolore-nam@f1stnpm2/beatae-nostrum-ex@f1stnpm2/blanditiis-cumque-voluptas@f1stnpm2/consequatur-mollitia-iste@f1stnpm2/consequuntur-consectetur-voluptas@f1stnpm2/atque-commodi-ab@f1stnpm2/atque-dolorum-quia@f1stnpm2/atque-vero-veniam@f1stnpm2/commodi-necessitatibus-quas@f1stnpm2/consectetur-magni-sed@f1stnpm2/blanditiis-incidunt-cum@f1stnpm2/culpa-eligendi-esse@f1stnpm2/culpa-vitae-libero@f1stnpm2/cum-ad-nesciunt@f1stnpm2/cum-distinctio-atque@f1stnpm2/dignissimos-placeat-dolores@f1stnpm2/distinctio-asperiores-expedita@f1stnpm2/corporis-accusamus-necessitatibus@f1stnpm2/corporis-ea-a@f1stnpm2/corrupti-deleniti-est@f1stnpm2/cum-quas-provident@f1stnpm2/cumque-dolorem-perspiciatis@f1stnpm2/cumque-iste-cumque@f1stnpm2/cumque-repudiandae-officia@f1stnpm2/debitis-fuga-cumque@f1stnpm2/corrupti-ipsam-distinctio@f1stnpm2/molestiae-ea-rem@f1stnpm2/molestiae-rem-excepturi@f1stnpm2/molestiae-sequi-cupiditate@f1stnpm2/mollitia-harum-minima@f1stnpm2/laudantium-neque-qui@f1stnpm2/libero-nam-itaque@f1stnpm2/magnam-rerum-sit@f1stnpm2/magni-iure-dolore@f1stnpm2/maxime-assumenda-dicta@f1stnpm2/minima-atque-molestias@f1stnpm2/mollitia-praesentium-dolorem@f1stnpm2/nam-libero-nobis@f1stnpm2/nam-sequi-numquam@f1stnpm2/odit-atque-repellat@f1stnpm2/nobis-autem-voluptate@f1stnpm2/nobis-explicabo-itaque@f1stnpm2/nobis-minima-odio@f1stnpm2/non-laborum-natus@f1stnpm2/neque-optio-veritatis@f1stnpm2/nesciunt-ullam-laboriosam@f1stnpm2/non-tempora-eius@f1stnpm2/nostrum-et-voluptatibus@f1stnpm2/natus-repudiandae-quod@f1stnpm2/necessitatibus-atque-officia@f1stnpm2/numquam-saepe-dolorem@f1stnpm2/impedit-suscipit-laboriosam@f1stnpm2/fuga-vel-consequuntur@f1stnpm2/fugiat-accusantium-provident@f1stnpm2/fugiat-ducimus-distinctio@f1stnpm2/fugiat-excepturi-quia@f1stnpm2/fugiat-ipsam-delectus@f1stnpm2/fugit-aliquid-porro@f1stnpm2/id-explicabo-reprehenderit@f1stnpm2/id-inventore-aliquam
1.0.0

15 days ago