0.1.10 • Published 3 years ago
@pongo-ui/react-menu v0.1.10
Menu
The Menu related components allow you to display information over a given element.
Use
- Install the @pongo-ui/react-menu component.
Using NPM
npm install @pongo-ui/react-menu
Using Yarn
yarn add @pongo-ui/react-menu
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 Menu components.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Menu } from '@pongo-ui/react-menu'
const MyApp = () => {
return (
<Provider theme={webLightTheme}>
<Menu>
// Add your menu here
</Menu>
<Provider>
)
}
API
The Menu API extends off of the FluentUI Menu.
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago