UNPKG

nice-ui

Version:

React design system, components, and utilities

30 lines (29 loc) 811 B
import * as React from 'react'; export interface CommandArgSelectItem { id: string; name?: string; icon?: React.ReactNode; } export interface Props { value: string; list: CommandArgSelectItem[]; highlight?: string[]; initializing?: boolean; selected: string; title?: React.ReactNode; label?: React.ReactNode; labelValue?: React.ReactNode; actionLabel?: React.ReactNode; placeholder?: string; readonly?: boolean; onChange: (value: string) => void; onSubmit: () => void; onClick?: () => void; onTabBack?: () => void; onDeleteBefore?: () => void; onSelect?: (id: string) => void; onOptionClick?: (id: string) => void; onKeyDown?: () => void; onKeyUp?: () => void; } export declare const CommandArgSelect: React.FC<Props>;