@douyinfe/semi-ui
Version:
A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.
23 lines (22 loc) • 913 B
TypeScript
import React from 'react';
import { InsetInputValue, Type, InsetInputChangeFoundationProps } from '@douyinfe/semi-foundation/lib/es/datePicker/inputFoundation';
import { InputProps } from '../input';
export interface InsetDateInputProps {
forwardRef: InputProps['forwardRef'];
insetInputValue: InsetInputValue;
placeholder: string;
valuePath: string;
onChange: (options: InsetInputChangeFoundationProps) => void;
onFocus: InputProps['onFocus'];
}
export interface InsetTimeInputProps {
disabled: boolean;
insetInputValue: InsetInputValue;
placeholder: string;
valuePath: string;
type: Type;
onChange: (options: InsetInputChangeFoundationProps) => void;
onFocus: InputProps['onFocus'];
}
export declare function InsetDateInput(props: InsetDateInputProps): React.JSX.Element;
export declare function InsetTimeInput(props: InsetTimeInputProps): React.JSX.Element;