Skip to content

Commit

Permalink
plugin-select-readme Send just props
Browse files Browse the repository at this point in the history
  • Loading branch information
corvidism committed Jul 22, 2024
1 parent 8062bc3 commit 23d41ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,13 @@ const context = {
},
};

//..

const wrapper = mount(
React.createElement(
PageContext.Provider,
{ value: context },
React.createElement(MyComponent, { permissions })
React.createElement(MyComponent, props)
)
);

Expand Down

0 comments on commit 23d41ec

Please sign in to comment.