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

12 lines
245 B
TypeScript

import { IBlockData } from '@schlechtenburg/core';
export interface ILayoutData {
orientation: string;
children: IBlockData<any>[];
}
export const getDefaultData: () => ILayoutData = () => ({
orientation: 'vertical',
children: [],
});