2 votes

How can I show a Slot/Fill in the block editor

By wrapping everything in a <SlotFillProvider> and rendering MyTestFill it works, here is the code: const { Fill, Slot } = createSlotFill( 'MyFill' ); const TestFill = () => <Fill>My ...
  • 131

Only top scored, non community-wiki answers of a minimum length are eligible