diff --git a/demo/src/Demo.tsx b/demo/src/Demo.tsx index aa786f7..c457d1c 100644 --- a/demo/src/Demo.tsx +++ b/demo/src/Demo.tsx @@ -14,6 +14,8 @@ const Example: React.FunctionComponent<{ description: string }> = ({ description ); function Demo() { + const [showAllExamples, setShowAllExamples] = React.useState(false); + return (
@@ -97,13 +99,25 @@ function Demo() {
- - - - - - - + {showAllExamples ? ( + + + + + + + + + ) : ( +
+ +
+ )}