UNPKG

@ebay/ui-core-react

Version:

Skin components build off React

24 lines 806 B
import { ComponentProps, FC } from "react"; import { EbayChangeEventHandler } from "../common/event-utils/types"; export type ChangeEventProps = { index: number; selected: string[]; wasClicked: boolean; }; export type EbayListboxButtonProps = Omit<ComponentProps<"button">, "onChange"> & { selected?: number; borderless?: boolean; fluid?: boolean; maxHeight?: string; prefixId?: string; prefixLabel?: string; floatingLabel?: string; split?: "none" | "start" | "end"; unselectedText?: string; onChange?: EbayChangeEventHandler<HTMLButtonElement, ChangeEventProps>; onCollapse?: () => void; onExpand?: () => void; }; declare const ListboxButton: FC<EbayListboxButtonProps>; export default ListboxButton; //# sourceMappingURL=listbox-button.d.ts.map