@draft-js-plugins/editor
Version:
Editor for DraftJS Plugins
10 lines (9 loc) • 322 B
TypeScript
import { ComponentType } from 'react';
type WrappedComponentType = ComponentType<any> & {
WrappedComponent?: ComponentType<any>;
};
interface ParamFunction {
(param: WrappedComponentType): WrappedComponentType;
}
export default function composeDecorators(...funcs: Array<ParamFunction>): ParamFunction;
export {};