import type { BadgeSize, BadgeType } from '../Badge'; import type { PopoverCommonProps } from '../common'; import type { BadgeSelectItemProps } from '../BadgeSelectItem'; export type BadgeSelectProps = { /** An array of options. Each option must have a unique `id`, a `text` and a `skin` whose value should match one of ``'s skin values. */ options: BadgeSelectItemProps[]; /** The id of the selected option in the list. */ selectedId?: string; /** Callback function called whenever the user selects a different option in the list. */ onSelect?: (option: BadgeSelectItemProps) => void; /** The size of the `` * @default 'medium' */ size?: BadgeSize; /** The type of the `` * @default 'solid' */ type?: BadgeType; /** Whether the text of the `` should be uppercase. * @default true */ uppercase?: boolean; /** Applied as data-hook HTML attribute that can be used to create driver in testing. */ dataHook?: string; /** * Accepts common popover props that are passed to the dropdown popover. * @linkTypeTo Popover */ popoverProps?: PopoverCommonProps; /** Specifies whether the options open in a bottom `` when `WixDesignSystemProvider` has `mobile` enabled. * @default true */ showDrawerOnMobile?: boolean; }; export type BadgeSelectImperativeActions = { hideDropdown: () => void; showDropdown: () => void; toggleDropdown: () => void; getSelectedOption: (props: any) => BadgeSelectItemProps; }; export type { BadgeSelectItemProps }; //# sourceMappingURL=BadgeSelect.types.d.ts.map