schlechtenburg/packages/paragraph/lib/util.ts

10 lines
166 B
TypeScript
Raw Normal View History

2022-03-11 17:23:14 +00:00
export interface IParagraphData {
2020-05-24 20:00:14 +00:00
value: string;
2020-05-24 20:39:14 +00:00
align: string;
2020-05-24 20:00:14 +00:00
}
2022-03-11 17:23:14 +00:00
export const getDefaultData: () => IParagraphData = () => ({
2020-05-24 20:39:14 +00:00
value: '',
align: 'left',
});