diff --git a/components/examples.mdx b/components/examples.mdx index 743c11c86..e0481c515 100644 --- a/components/examples.mdx +++ b/components/examples.mdx @@ -15,6 +15,23 @@ Common use cases: On mobile devices, `` and `` components display as regular code blocks and can be scrolled past. + + +```bash Request + curl --request POST \ + --url https://dog-api.kinduff.com/api/facts +``` + + + + + +```json Response +{ "status": "success" } +``` + + + ## RequestExample Use `` to pins code examples in the right sidebar. This component works similarly to the [CodeGroup](/components/code-groups) component, but displays the code in the sidebar instead of inline.