Brave UI
List of reusable React components written in TypeScript to enhance your brave UI
THIS IS EXPERIMENTAL TECHNOLOGY, WHICH MEANS THAT API CAN BE CHANGED AT ANY TIME.
FOLLOW THE STABILITY INDEX LINK BELOW FOR FURTHER INFORMATION.
Available components
To check current progress of each component please refer to Components Stability Index. For a live demo and API overview access https://brave.github.io/brave-ui
Installation
# If you prefer using yarn: yarn add brave-ui
npm i --save brave-ui
Sample Usage
const { PushButton } = require('brave-ui')
// alternatively you can pass
// const PushButton = require('brave-ui/pushButton')
// ES6 imports also work
// import PushButton from 'brave-ui/pushButton'
//...
render () {
return (
<PushButton theme='secondary' onClick={this.doSomething}>
Click me
</PushButton>
)
}
Don't forget to go to https://brave.github.io/brave-ui for more examples and API demonstration.
Contributing
Please refer to https://github.com/brave/brave-ui for contributing documentation.
License
brave-ui
is licensed under the MPL-2.0.