UNPKG

@atlaskit/editor-plugin-date

Version:

Date plugin for @atlaskit/editor-core

9 lines (8 loc) 354 B
import type { IntlShape } from 'react-intl'; import type { EditorState } from '@atlaskit/editor-prosemirror/state'; type DateInformation = { color: 'red' | undefined; displayString: string; }; export declare const getDateInformation: (timestamp: string | number, intl: IntlShape, state?: EditorState, pos?: number) => DateInformation; export {};