@splat/storybook-splat-frontend v2.0.0-21
This project showcases a library of reusable React components developed with best practices in usability and accessibility. Components are easily previewed and tested using Storybook.
Getting Started These instructions will get your copy of the project up and running on your local machine for development and testing purposes.
Prerequisites Make sure you have Node.js (which includes npm) installed.
Installing First, clone the repository to your local machine:
git clone git clone git@bitbucket.org:repomode/storybook-splat-frontend.git cd my-react-storybook-project
Install the project dependencies:
npm install
To view your Storybook components:
npm run storybook
Running the tests Explain how to run the automated tests for this system here (if applicable).
Build To build the static files for your components:
npm run build
Usage To use a component from this library, install it via npm:
npm install @splat/storybook-splat-frontend
Then import and use the component in your project:
import { Header, Footer, Navbar, Button } from '@splat/storybook-splat-frontend/dist/index.es';
function App() { return <Button text="SHOW MORE" onClick={() => console.log('Clicked')} />; }
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago