schlechtenburg/packages/layout/lib/util.ts

12 lines
243 B
TypeScript
Raw Normal View History

import { IBlockData } from '@schlechtenburg/core';
2020-05-24 20:00:14 +00:00
export interface LayoutData {
orientation: string;
children: IBlockData<any>[];
2020-05-24 20:00:14 +00:00
}
export const getDefaultData: () => LayoutData = () => ({
orientation: 'vertical',
children: [],
});