@kedao/editor
Version:
Rich Text Editor Based On Draft.js
15 lines (14 loc) • 403 B
TypeScript
import React from 'react';
import './style.scss';
declare class TextColor extends React.Component<any, any> {
state: {
colorType: string;
};
dropDownInstance: React.RefObject<any>;
switchColorType: ({ currentTarget }: {
currentTarget: any;
}) => void;
toggleColor: (color: any, closePicker: any) => boolean;
render(): JSX.Element;
}
export default TextColor;