schlechtenburg/packages/paragraph/lib/util.ts

10 lines
164 B
TypeScript
Raw Normal View History

2020-05-24 20:00:14 +00:00
export interface ParagraphData {
value: string;
2020-05-24 20:39:14 +00:00
align: string;
2020-05-24 20:00:14 +00:00
}
2020-05-24 20:39:14 +00:00
export const getDefaultData: () => ParagraphData = () => ({
value: '',
align: 'left',
});