oadp-material
Version:
oadp-material
19 lines (18 loc) • 611 B
TypeScript
import * as React from 'react';
import { Dayjs, ConfigType } from 'dayjs';
import './index.scss';
export interface OadpAttributeDatetimeProps {
name?: string;
format?: string | ((value: Dayjs) => string);
defaultValue?: ConfigType;
label?: React.ReactNode;
placeholder?: string;
size?: 'small' | 'medium' | 'large';
mode?: 'date' | 'month' | 'week' | 'quarter' | 'year';
hasBorder?: boolean;
hasClear?: boolean;
showTime?: boolean;
disabled?: boolean;
}
declare const OadpAttributeDatetime: React.FC<OadpAttributeDatetimeProps>;
export default OadpAttributeDatetime;