1.1.2 • Published 2 years ago
@rtgs-global/react-components v1.1.2
📦 Installation
npm install @rtgs-global/react-components
yarn add @rtgs-global/react-components
🔨 Usage
import { Button, TextInput } from '@rtgs-global/react-components/atoms';
const App = () => (
<>
<TextInput inputType="number" label="Phone Number" />
<Button mode="primary" onClick={() => {}}>Submit</Button>
</>
);
💅🏻 Component Library
We use Storybook to provide living documentation for the components.
Run npm run storybook and navigate to http://localhost:6006