graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

[website] switch between esm and cjs examples

Open n1ru4l opened this issue 3 years ago • 1 comments

Many examples are CJS only, it would be neat if we had a switch component where you can show examples either in cjs or esm. https://www.graphql-tools.com/docs/documents-loading

n1ru4l avatar Aug 31 '22 09:08 n1ru4l

You can use Tabs and Tab components for it

dimaMachina avatar Aug 31 '22 11:08 dimaMachina