schlechtenburg/packages/paragraph/lib/util.ts

10 lines
164 B
TypeScript

export interface ParagraphData {
value: string;
align: string;
}
export const getDefaultData: () => ParagraphData = () => ({
value: '',
align: 'left',
});