From 8812985ec43059bd56108e0f3c19b72429f08fc6 Mon Sep 17 00:00:00 2001 From: Ollie Halliday <22655069+Hallidayo@users.noreply.github.com> Date: Wed, 14 Dec 2022 14:13:24 +0000 Subject: [PATCH] added in example description --- apps/docs/components/reference/RefFunctionSection.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/docs/components/reference/RefFunctionSection.tsx b/apps/docs/components/reference/RefFunctionSection.tsx index a31c52af992..18c753a52ef 100644 --- a/apps/docs/components/reference/RefFunctionSection.tsx +++ b/apps/docs/components/reference/RefFunctionSection.tsx @@ -203,6 +203,16 @@ const RefFunctionSection: React.FC = (props) => { .replace('js', '') .replace('ts', ''))} + + {example.description && ( +
+
Example Notes
+ + {example.description} + +
+ )} + {response && (