To start using the components, please follow these steps:
- 1 Wrap your application with the
RedshiftProvider
provided 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>
}