Package Exports
- react-rainbow-components
- react-rainbow-components/components/Application
- react-rainbow-components/components/Avatar
- react-rainbow-components/components/Badge
- react-rainbow-components/components/Button
- react-rainbow-components/components/ButtonIcon
- react-rainbow-components/components/Card
- react-rainbow-components/components/Input
- react-rainbow-components/components/RenderIf
- react-rainbow-components/components/Spinner
- react-rainbow-components/components/Tab
- react-rainbow-components/components/Tabset
- react-rainbow-components/components/VerticalItem
- react-rainbow-components/components/VerticalNavigation
- react-rainbow-components/components/VerticalSectionOverflow
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-rainbow-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Rainbow
React Rainbow is a collection of components that will reliably help you build your application in a snap. Give it a hack and let us know what you think.
Installation
React Rainbow components is available as an npm package.
$ yarn add react-rainbow-componentsor
$ npm install react-rainbow-components --saveUsage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-rainbow-components';
function App() {
return <Button label="Hello World!" variant="brand" onClick={() => alert('Hello World!')} />;
}
ReactDOM.render(<App />, document.getElementById('container'));Yes, it's really all you need to get started as you can see in this live and interactive demo:
Running locally
- git clone https://github.com/nexxtway/react-rainbow.git
- cd react-rainbow
- yarn install
- yarn start
- navigate to http://localhost:6060/
Contributing
We are excited that you are interested in contributing to this project!
You can help us improve React Rainbow Components, the first step to begin collaborate is to create an issue before submitting a pull request, it's always good to file an issue, so we can discuss the details of your approach or suggestion.