UNPKG

mui-component

Version:

some custom mui components

15 lines (14 loc) 539 B
import type { CSSProperties, ReactNode, SVGProps } from "react"; export interface NoDataProps { /** 外层div的className */ className?: string; /** 外层div的style */ style?: CSSProperties; /** 无数据文案,优先级高于children */ noDataText?: ReactNode; /** 无数据文案,优先级低于noDataText */ children?: ReactNode; /** 传递给svg的props */ svgProps?: SVGProps<SVGSVGElement>; } export declare const NoData: (props: NoDataProps) => import("react/jsx-runtime").JSX.Element;