1.0.12-7 • Published 4 years ago
@nextup/ui-components v1.0.12-7
Volst UI Components
A React component library for Volst.
Demo / overview of all components
Install
yarn add @volst/ui-components
npm i @volst/ui-components --save
Usage
The components are documented in the demo, in the top-right you can press "Show Info" to see all the possible props for that component.
An example:
import React from 'react';
import ReactDOM from 'react-dom';
import { VolstTheme, Button } from '@volst/ui-components';
ReactDOM.render(
<VolstTheme>
<Button>Foobar</Button>
</VolstTheme>,
document.getElementById('root')
);
<VolstTheme />
accepts a theme
prop, which can be used to change some project-wide settings. An example:
const theme = {
primaryColor: '#006b94',
};
<VolstTheme theme={theme} />
See all settings.
Contributing
Please read the contributing guide.
Inspiration
1.0.12-7
4 years ago
1.0.11-6
5 years ago
1.0.11-5
5 years ago
1.0.10-4
5 years ago
1.0.9-3
5 years ago
1.0.8-1
6 years ago
1.0.8-3
6 years ago
1.0.8-2
6 years ago
1.0.8-17
6 years ago
1.0.8-16
6 years ago
1.0.7-15
6 years ago
1.0.7-14
6 years ago
1.0.6-13
6 years ago
1.0.6-12
6 years ago
1.0.5-11
6 years ago
1.0.4-10
6 years ago
1.0.4-9
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.1-8
6 years ago
1.0.0-7
6 years ago
1.0.0-6
6 years ago
1.0.0-5
6 years ago
1.0.0
6 years ago