react-gosuslugi
v0.0.84
Published
react-gosuslugi collection of common React UI components
Downloads
81
Readme
react-gosuslugi
react-gosuslugi
is a collection of React components that conform to Gosuslugi Style, partner.
Setup
- Install with
npm
oryarn
:
npm i --save react-gosuslugi
OR
yarn add react-gosuslugi
- Add in you general sass:
@import '~react-gosuslugi/dist/styles';
- Use in your project:
import React from 'react'
import { Button } from 'react-gosuslugi'
const MyComponent = () =>
<Button onClick={() => console.log('thanks for clicking :)')}>
Click me!
</Button>
- Fonts are stored in: ~react-gosuslugi/dist/fonts