UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

34 lines (33 loc) 674 B
import { DateUtils } from "@etsoo/shared"; import { TypographyProps } from "@mui/material/Typography"; /** * Date text props */ export interface DateTextProps extends TypographyProps { /** * Locale */ locale?: string; /** * Near days to show in error color */ nearDays?: number; /** * Options */ options?: DateUtils.FormatOptions; /** * Time zone */ timeZone?: string; /** * Value to display */ value?: Date | string; } /** * Date text * @param props Props * @returns Component */ export declare function DateText(props: DateTextProps): import("react/jsx-runtime").JSX.Element;