Skip to content

Commit

Permalink
wip: custom page elements via extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 18, 2024
1 parent cf49e1e commit 3afd4c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const INITIAL_ELEMENT_DATA: SpaceXElementData = {

export const Extension = () => (
<>
<PbRenderElementPlugin elementType={"spaceX"} render={SpaceX} />
<PbEditorPageElementPlugin
elementType={"spaceX"}
render={({ element }) => <SpaceX element={element as Element} />}
Expand Down

0 comments on commit 3afd4c9

Please sign in to comment.