Skip to content

How to use Layout feature in gutenberg playground ? #40038

Answered by kohheepeace
kohheepeace asked this question in Q&A
Discussion options

You must be logged in to vote

I need to pass __experimentalLayout to BlockList.

const layout = useSetting("layout");
// console.log(layout) => { contentSize: "650px", wideSize: "1000px" }

<BlockList
  __experimentalLayout={ layout }
 />

Ref:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kohheepeace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant