contenido
Version:
Contenido is a library with a set of tools to help you create your own rich text editor on top of draft-js without thinking about how to handle things.
5 lines (4 loc) • 349 B
TypeScript
import type { ComponentType } from 'react';
import type { DecoratorComponentProps, DecoratorWrapperProps } from '../../types';
declare const withDecoratorComponent: <T extends DecoratorComponentProps>(Wrapped: ComponentType<T>) => (props: DecoratorWrapperProps) => import("react/jsx-runtime").JSX.Element;
export default withDecoratorComponent;