@draft-js-plugins/buttons
Version:
9 lines (8 loc) • 338 B
TypeScript
import { ReactNode } from 'react';
import { DraftJsBlockAlignmentButtonType } from '..';
interface CreateBlockAlignmentButtonProps {
alignment: string;
children: ReactNode;
}
export default function createBlockAlignmentButton({ alignment, children, }: CreateBlockAlignmentButtonProps): DraftJsBlockAlignmentButtonType;
export {};