UNPKG

@vectara/vectara-ui

Version:

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

11 lines (10 loc) 402 B
import { LinkProps } from "../link/types"; export type MenuItem = { className?: string; title?: React.ReactNode; text?: React.ReactNode; onClick?: () => void; href?: LinkProps["href"]; color?: "neutral" | "primary" | "danger"; }; export declare const VuiMenuItem: ({ className, title, text, onClick, href, color, ...rest }: MenuItem) => import("react/jsx-runtime").JSX.Element;