I leveraged this plugin for a project recently and noticed the general <JsonLd> component's documentation referenced the wrong prop, item instead of the expected prop, json
I added the imports and some additional code to hopefully make the example more clear. An ESLint complaint about the return type missing prompted me to add JSX.Element to the src file as well.
Description
I leveraged this plugin for a project recently and noticed the general
<JsonLd>
component's documentation referenced the wrong prop,item
instead of the expected prop,json
I added the imports and some additional code to hopefully make the example more clear. An ESLint complaint about the return type missing prompted me to add
JSX.Element
to the src file as well.Checklist
yarn fix
runs successfully.yarn api:generate
and updated the README documentation where necessary.yarn test && yarn test:e2e
.