schlechtenburg/packages/layout/lib/util.ts
2021-03-08 16:29:35 +01:00

12 lines
241 B
TypeScript

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