@aliretail/react-materials-components
Version:
20 lines (19 loc) • 511 B
TypeScript
import * as React from 'react';
import * as PropTypes from 'prop-types';
declare type TAppProps = typeof DateTime.defaultProps & {
datetime: string;
};
interface IAppState {
}
declare class DateTime extends React.Component<TAppProps, IAppState> {
static propTypes: {
datetime: PropTypes.Requireable<string>;
};
static defaultProps: {
datetime: string;
};
state: IAppState;
judgeTime: (datetime: Date) => boolean;
render(): JSX.Element;
}
export default DateTime;