最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Use a React Component in conjunction with Blocks

programmeradmin0浏览0评论

I want to use a React Component which renders child items. The rendering of the children is bound to an array of objects of the component which holds the information for each item. So my idea is to use this component in conjunction with gutenberg blocks. The parent component is a block with the child items as the InnerBlocks. The React Components name is react-grid-layout (). From users view: The user creates a block, ie "Draggable Grid" and can add Inner Blocks like Slider, Image, etc as Grid Items.

Currently I see no way how I can achieve that. Any help would be great. Thank you.

发布评论

评论列表(0)

  1. 暂无评论