@real-system/menu-primitive
v0.0.25
Published
Menu primitive components for real system.
Downloads
11
Readme
Installation
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install menu-primitive
# npm
$ npm install @real-system/menu-primitive
# yarn
$ yarn add @real-system/menu-primitive
Code Example
import type {
MenuItemCheckboxPrimitiveProps,
MenuItemPrimitiveProps,
MenuItemRadioPrimitiveProps,
MenuPrimitiveProps,
MenuSeparatorPrimitiveProps,
MenuStorePrimitive,
MenuStorePrimitiveProps,
} from '@real-system/menu-primitive';
import {
MenuArrowPrimitive,
MenuButtonPrimitive,
MenuGroupLabelPrimitive,
MenuGroupPrimitive,
MenuItemCheckboxPrimitive,
MenuItemCheckPrimitive,
MenuItemPrimitive,
MenuItemRadioPrimitive,
MenuPrimitive,
MenuSeparatorPrimitive,
useMenuStorePrimitive,
} from '@real-system/menu-primitive';
...