@benbugraer/headline-editor
Version:
A headline editor canvas component for news websites
9 lines (8 loc) • 371 B
TypeScript
import React from "react";
import { TextFormatting, TextAlignType } from "../types/canvas.types";
interface TextFormattingControlsProps {
textFormatting: TextFormatting;
updateTextFormatting: (property: keyof TextFormatting, value: boolean | TextAlignType) => void;
}
export declare const TextFormattingControls: React.FC<TextFormattingControlsProps>;
export {};