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.
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
# If you prefer using yarn: yarn add brave-ui
npm i --save brave-ui
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.
Please refer to https://github.com/brave/brave-ui for contributing documentation.
brave-ui
is licensed under the MPL-2.0.