UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

11 lines (10 loc) 656 B
import { OptionListItem } from "./types"; import { LinkProps } from "../link/types"; export declare const colorIcon: (icon: OptionListItem<string>["icon"], color: OptionListItem<string>["color"]) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; type Props<T> = OptionListItem<T> & { isSelectable?: boolean; isSelected?: boolean; target?: LinkProps["target"]; }; export declare const VuiOptionsListItem: <T extends unknown = unknown>({ value, label, icon, color, href, target, onClick, isSelectable, isSelected, testId, ...rest }: Props<T>) => import("react/jsx-runtime").JSX.Element; export {};