@devfamily/admiral
Version:
Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.
15 lines (14 loc) • 608 B
TypeScript
import React from 'react';
import { TimePickerProps as BaseTimePickerProps } from '../../ui';
import { FormItemProps } from '../Item';
import { InputComponentWithName } from '../interfaces';
interface TimePickerProps extends Omit<BaseTimePickerProps, 'format'> {
}
export declare type TimePickerInputProps = FormItemProps & {
name: string;
format: string;
onChange?: (value: any) => void;
} & TimePickerProps;
export declare const TimePickerInput: InputComponentWithName<React.FC<TimePickerInputProps>>;
export declare const parseValue: (value: string, format: string) => Date | null;
export {};