@seidhr/sanity-plugin-timespan-input
Version:
Make it easier to add timespan information with the help of Extended Date Time Format (EDTF).
7 lines (6 loc) • 348 B
TypeScript
import React from 'react';
import { InputProps, ObjectInputProps } from 'sanity';
import { Timespan } from './types';
export type TimespanInputCallbackProps = Omit<InputProps, 'renderDefault'>;
export type TimespanInputProps = ObjectInputProps<Timespan>;
export declare function TimespanInput(props: Readonly<ObjectInputProps>): React.JSX.Element;