import { DensityProp } from '../../composables/density.js'; import { SkeletonInjected } from '../../composables/useSkeletonState.js'; import { OnyxButtonProps } from '../OnyxButton/types.js'; import { WithLinkProp } from '../OnyxRouterLink/types.js'; export type OnyxGlobalSearchOptionProps = DensityProp & WithLinkProp & Pick & { /** * Option label. */ label: string; /** * Unique value of the option inside the global search. * Required for accessibility and keyboard support. */ value: string; /** * Optional icon to show next to the label. */ icon?: string; /** * Whether to show a skeleton option. */ skeleton?: SkeletonInjected; };