@sanity/form-builder
Version:
Sanity form builder
29 lines • 822 B
TypeScript
import React from 'react';
import PatchEvent from '../../PatchEvent';
import { CommonProps } from './types';
declare type SchemaOptions = {
dateFormat?: string;
calendarTodayLabel?: string;
};
export declare type Props = CommonProps & {
onChange: (event: PatchEvent) => void;
type: {
name: string;
title: string;
description?: string;
options?: SchemaOptions;
placeholder?: string;
};
};
export declare const DateInput: React.ForwardRefExoticComponent<CommonProps & {
onChange: (event: PatchEvent) => void;
type: {
name: string;
title: string;
description?: string;
options?: SchemaOptions;
placeholder?: string;
};
} & React.RefAttributes<HTMLInputElement>>;
export {};
//# sourceMappingURL=DateInput.d.ts.map