@pongo-ui/react-toolbar
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

Toolbar

The Toolbar component displays important information and actions for an application.

Use

  1. Install the @pongo-ui/react-toolbar component.

Using NPM

npm install @pongo-ui/react-toolbar

Using Yarn

yarn add @pongo-ui/react-toolbar
  1. Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme

  2. 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>
  )
}
  1. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @pongo-ui/react-toolbar

Weekly Downloads

1

Version

0.0.19

License

MIT

Unpacked Size

154 kB

Total Files

206

Last publish

Collaborators

  • pongobuild
  • czearing