@redshift-ui/react
v2.3.4
Published
## Usage
Downloads
209
Readme
Redshift UI React
Usage
To start using the components, please follow these steps:
- 1 Wrap your application with the
RedshiftProviderprovided by @redshift-ui/react.
import { RedshiftProvider } from "@redshift-ui/react"
// Do this at the root of your application
function App({ children }) {
return <RedshiftProvider>{children}</RedshiftProvider>
}- 2 Now you can start using components like so!:
import { Button } from "@redshift-ui/react"
function Example() {
return <Button>I just consumed some ⚡️Redshift!</Button>
}