UNPKG

@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

21 lines (20 loc) 690 B
import UpDate from './UpDate'; 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 UpDateProps extends BaseControlProps<Date>, CommonProps { } export interface UpDateStyledProps extends CommonProps, StyledComponentProps { onChange?: (e: any) => void; value: Date; className?: string; disabled?: boolean; dataFor?: string; } export default UpDate;