schlechtenburg/packages/heading/lib/util.ts
2022-03-11 18:23:14 +01:00

12 lines
191 B
TypeScript

export interface IHeadingData {
value: string;
align: string;
level: number;
}
export const getDefaultData: () => IHeadingData = () => ({
value: '',
align: 'left',
level: 1,
});