@atlaskit/editor-plugin-date
Version:
Date plugin for @atlaskit/editor-core
9 lines (8 loc) • 531 B
TypeScript
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { DatePlugin, DeleteDate, InsertDate } from '../types';
type DeleteDateCommand = (pluginInjectionApi: ExtractInjectionAPI<DatePlugin> | undefined) => DeleteDate;
/** Delete the date and close the datepicker */
export declare const deleteDateCommand: DeleteDateCommand;
type InsertDateCommand = (pluginInjectionApi: ExtractInjectionAPI<DatePlugin> | undefined) => InsertDate;
export declare const insertDateCommand: InsertDateCommand;
export {};