@gravity-ui/uikit
Version:
Gravity UI base styling and components
14 lines (13 loc) • 444 B
TypeScript
export interface PaletteGridProps {
disabled?: boolean;
onFocus?: (event: React.FocusEvent) => void;
onBlur?: (event: React.FocusEvent) => void;
whenFocused?: {
selectItem: () => void;
nextItem: () => void;
previousItem: () => void;
nextRow: () => void;
previousRow: () => void;
};
}
export declare function usePaletteGrid(props: PaletteGridProps): React.HTMLAttributes<HTMLElement>;