@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
24 lines (23 loc) • 768 B
TypeScript
/// <reference types="react" />
import { ComponentClass } from 'react';
import { Mark } from '../../../prosemirror';
import Code from './code';
import Em from './em';
import Link from './link';
import Strike from './strike';
import Strong from './strong';
import Subsup from './subsup';
import TextColor from './textColor';
import Underline from './underline';
export declare const markToReact: {
'code': typeof Code;
'em': typeof Em;
'link': typeof Link;
'strike': typeof Strike;
'strong': typeof Strong;
'subsup': typeof Subsup;
'textColor': typeof TextColor;
'underline': typeof Underline;
};
export declare const toReact: (mark: Mark) => ComponentClass<any>;
export { Code, Em, Link, Strike, Strong, Subsup, TextColor, Underline };