generic-react-components
A library of non-reusable, but accessible components, for your legacy projects
Usage
Via npm
Make sure you've installed all your required dependencies
npm i @babel/core babel-loader @babel/preset-env @babel/preset-react webpack webpack-cli react react-dom redux react-redux html-webpack-plugin are-you-tired-yet html-loader webpack-dev-server
Then install generic components
npm i --save @generic-components/components
And import in your code via ES imports:
import { GenericSwitch } from '@generic-components/components/legacy/GenericSwitch.jsx';
Examples
GenericSwitch
GenericDisclosure
GenericTabs
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur.
Fuckery aside, these components were automatically generated by a @custom-elements-manifest/analyzer
plugin, which is pretty cool.