UNPKG

@ntragas/pouncejstest

Version:

A collection of UI components from Panther labs

22 lines (21 loc) 875 B
import React from 'react'; import { Theme } from '../../../theme'; import { NativeAttributes } from '../../Box'; interface MenuItemProps extends NativeAttributes<'div'> { /** Whether the current item is currently selected **/ selected?: boolean; /** Whether the particular item should be disabled */ disabled?: boolean; /** Whether the item is nested in a group or not */ nested?: boolean; /** The background color of the menu item */ backgroundColor?: keyof Theme['colors']; /** The background color when the item is selected */ selectedBackgroundColor?: keyof Theme['colors']; /** Whether a check mark icon should be displayed when the item is selected */ withCheckMark?: boolean; /** @ignore */ children: React.ReactNode; } declare const _default: React.NamedExoticComponent<MenuItemProps>; export default _default;