import { StylePropertyValue } from 'theme-ui'; import { DOMAttributes, StyleProps } from './shared'; type BoxIconTitleProps = { id?: string; name: string; }; export interface BoxProps extends StyleProps, DOMAttributes { id?: string; /** The background color of the box. */ bg?: StylePropertyValue; /** When true, display as a row rather than a column. */ isRow?: boolean; /** Whether the box is disabled. */ isDisabled?: boolean; /** Whether the box is focused. */ isFocused?: boolean; tabIndex?: string | number; isSelected?: boolean; isUnavailable?: boolean; hidden?: boolean; title?: string | BoxIconTitleProps; } export {};