@up-group/react-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
22 lines (21 loc) • 752 B
TypeScript
import UpDateTime from './UpDateTime';
import { ThemedProps } from '../../../Common/theming/types';
import { StyledComponentProps } from "../../../Common/utils/types";
import { BaseControlProps } from '../_Common/BaseControl/BaseControl';
export interface CommonProps extends ThemedProps {
hasError?: boolean;
format?: string;
minDate?: Date;
maxDate?: Date;
}
export interface UpDateTimeProps extends BaseControlProps<Date>, CommonProps {
}
export interface UpDateTimeStyledProps extends CommonProps, StyledComponentProps {
onChangeDate?: (e: any) => void;
onChangeTime?: (e: any) => void;
value: Date;
disabled?: boolean;
className?: string;
dataFor?: string;
}
export default UpDateTime;