@ebay/ui-core-react
Version:
Skin components build off React
22 lines • 822 B
TypeScript
import { ComponentProps, FC, ReactNode } from "react";
import { FilterMenuItemClick, Type, Variant } from "./types";
export type EbayFilterMenuItemProps = Omit<ComponentProps<"label"> & ComponentProps<"div">, "children" | "onClick"> & {
checked?: boolean;
value?: string;
disabled?: boolean;
children: ReactNode;
onClick?: FilterMenuItemClick;
/**
* These properties are used by EbayFilterMenu.
* NOTE: The flag "@deprecated" is only to not show this property in the autocomplete list on the top
* @deprecated
*/
__classPrefix?: string;
/** @deprecated */
__type?: Type;
/** @deprecated */
__variant?: Variant;
};
declare const EbayFilterMenuItem: FC<EbayFilterMenuItemProps>;
export default EbayFilterMenuItem;
//# sourceMappingURL=filter-menu-item.d.ts.map