Audora UI
An UI design language and React-based implementation
Install
via yarn
yarn add audora-ui
via npm
npm install audora-ui --save
Usage
import { Button } from 'audora-ui';
const MyComponent = () => (
<div>
<Button
content="Click"
onClick={() => alert("Button was clicked!")}
type="primary"
/>
</div>
);
Theme
import { Theme } from 'audora-ui';
const themeConfig = {
color: {
primary: '#222'
}
};
const MyApplication = () => (
<Theme config={themeConfig}>
<Button
content="Click"
onClick={() => alert("Button was clicked!")}
type="primary"
/>
</Theme>
);
Development
Clone the repo:
git clone git@github.com:audora/audora-ui.git
Then install dependencies:
cd ./audora-ui
yarn
or
cd ./audora-ui
npm install
Run project:
yarn start
or
npm start
Contributing
Please read our CONTRIBUTING.md