UNPKG

@brizy/ui

Version:
11 lines (10 loc) 423 B
import { PropsWithChildren, ReactElement, ReactNode, ReactText } from "react"; export interface Props<T extends ReactText> { key: T; disabled?: boolean; title?: string; addonBefore?: ReactNode; addonAfter?: ReactNode; pro?: boolean; } export declare function SidebarMenuItem<T extends ReactText>({ addonBefore, addonAfter, pro, children, ...otherProps }: PropsWithChildren<Props<T>>): ReactElement;