nice-ui
Version:
React design system, components, and utilities
25 lines (24 loc) • 703 B
TypeScript
import * as React from 'react';
export interface ContextItemProps extends React.HTMLAttributes<any> {
big?: boolean;
grey?: boolean;
danger?: boolean;
icon?: React.ReactNode;
right?: React.ReactNode;
smallText?: boolean;
/** Whether to show ellipsis "...". */
more?: boolean;
/** Whether to show right chevron, if item opens a sub-panel. */
nested?: boolean;
compact?: boolean;
outline?: boolean;
bg?: boolean;
open?: boolean;
to?: string;
selected?: boolean;
disabled?: boolean;
inset?: boolean;
/** Whether to close popup on click. */
closePopup?: boolean;
}
export declare const ContextItem: React.FC<ContextItemProps>;