@pongo-ui/react-toolbar
v0.0.19
Published
A toolbar component that displays important information and actions for an application.
Downloads
8
Readme
Toolbar
The Toolbar component displays important information and actions for an application.
Use
- Install the @pongo-ui/react-toolbar component.
Using NPM
npm install @pongo-ui/react-toolbar
Using Yarn
yarn add @pongo-ui/react-toolbar
Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme
Set up the provider in your app:
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
const MyApp = () => {
return (
<Provider theme={webLightTheme}>
<Provider>
)
}
- Integrate the Toolbar component.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Toolbar } from '@pongo-ui/react-toolbar'
const MyApp = () => {
return (
<Provider theme={webLightTheme}>
<Toolbar>Hello World</Toolbar>
<Provider>
)
}
API
To learn more about the Toolbar API take a look at the Toolbar Interface file.