@10up/block-components
Version:
10up Components built for the WordPress Block Editor.
22 lines • 552 B
TypeScript
interface PostDatePickerProps {
date?: string;
setDate: (date: string | null) => void;
}
export declare const PostDatePicker: React.FC<PostDatePickerProps>;
interface PostDateProps {
/**
* The placeholder to show when no date is set.
*/
placeholder: string;
/**
* The date format to use.
*/
format?: string;
/**
* Remaining props to pass to the time element.
*/
[key: string]: unknown;
}
export declare const PostDate: React.FC<PostDateProps>;
export {};
//# sourceMappingURL=index.d.ts.map