@financial-times/community-common-components
v1.5.6
Published
UI for community events
Downloads
163
Maintainers
Keywords
Readme
community-common-components
Description
- This is a package which contains the common react components used by community projects.
Installation
npm install @financial-times/community-common-components
Usage
- Example of how to use the
<Stepper/>
import { Stepper } from "@financial-times/community-common-components";
const container = document.querySelector('.some-container-element');
render((
<Stepper
steps={["Step 1", "Step 2", "step 3"]}
step_index={1}
/>), container)
Development
Setting up your local environment
- Simply clone this repo, cd into the directory and run:
npm install
Storybooks
- To view storybooks, run:
npm run storybook