UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

31 lines (30 loc) 836 B
import * as React from 'react'; import { IShareConfig } from '../../model'; export type IPermissionLevelPicker = IShareConfig & { /** * If true, the menu options will be displayed in a bottomsheet instead of a menu. * */ useBottomsheet?: boolean; /** * If true, the buttons / actions will collapse into a single 3-dot icon button. * */ isMobile?: boolean; /** * If true, the permission label will display on the left of the more icon in mobile screen * */ showPermissionLabel?: boolean; /** * If true, the buttons will be disabled. * */ disabled?: boolean; /** * The tooltip message display on the disabled button * */ disabledMessage?: string; }; export declare const PermissionPicker: React.FC<IPermissionLevelPicker>;