schlechtenburg/packages/heading/lib/util.ts

12 lines
191 B
TypeScript
Raw Normal View History

2022-03-11 17:23:14 +00:00
export interface IHeadingData {
value: string;
align: string;
level: number;
}
export const getDefaultData: () => IHeadingData = () => ({
value: '',
align: 'left',
level: 1,
});