import { IBlockType } from '../core/store/storetype'; import { PropsWithChildren } from 'react'; import { UserConfig } from '../config'; interface BlockProps { data: IBlockType; context: 'edit' | 'preview'; config: UserConfig; } /** * * 用来从component里拿到渲染进行渲染,由于异步拉代码,所以需要等待代码拉取完毕 * @param {*} props * @returns */ declare function Blocks(props: PropsWithChildren): JSX.Element; export default Blocks;