0.4.0 • Published 7 years ago
audora-ui v0.4.0
Audora UI
An UI design language and React-based implementation
Install
via yarn
yarn add audora-uivia npm
npm install audora-ui --saveUsage
import { Box, Button } from 'audora-ui'
const MyComponent = () => (
<Box>
<Button onClick={() => alert('Button was clicked!')} variant="primary">
Click
</Button>
</Box>
)Theme
import { Theme } from 'audora-ui'
const themeConfig = {
colors: {
primary: ['#333333', '#222222'],
},
}
const MyApplication = () => (
<ThemeProvider theme={themeConfig}>
<Button
content="Click"
onClick={() => alert('Button was clicked!')}
type="primary"
/>
</ThemeProvider>
)Development
Clone the repo:
git clone git@github.com:audora/audora-ui.gitThen install dependencies:
cd ./audora-ui
yarnor
cd ./audora-ui
npm installRun project:
yarn startor
npm startContributing
Please read our CONTRIBUTING.md