soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
16 lines (15 loc) • 543 B
TypeScript
/// <reference types="react" />
import './menu.scss';
import { TagNameString } from '@/utils/type';
export interface Props {
leadingIcon?: React.ReactNode;
children?: React.ReactNode;
trailingIcon?: React.ReactNode;
trailingText?: React.ReactNode;
disabled?: boolean;
as?: TagNameString;
}
/**
* use `<Menu>` to wrap it
*/
export declare const MenuItem: import("react").ForwardRefExoticComponent<Props & Omit<import("react").HTMLProps<HTMLElement>, "ref" | keyof Props> & import("react").RefAttributes<HTMLElement>>;