From 0974e3fb2730368b109091bb2f9955d876b992d9 Mon Sep 17 00:00:00 2001 From: Gerardo Rodriguez Date: Tue, 20 Jul 2021 15:56:02 -0700 Subject: [PATCH] Refine SkyNav component code examples (#1424) --- src/components/sky-nav/sky-nav.stories.mdx | 28 ++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/src/components/sky-nav/sky-nav.stories.mdx b/src/components/sky-nav/sky-nav.stories.mdx index cb35ae26b..752b66d35 100644 --- a/src/components/sky-nav/sky-nav.stories.mdx +++ b/src/components/sky-nav/sky-nav.stories.mdx @@ -1,8 +1,13 @@ import { Story, Canvas, Meta } from '@storybook/addon-docs/blocks'; import { useEffect } from '@storybook/client-api'; +import { makeTwigInclude } from '../../make-twig-include'; import menu from './demo/menu.json'; import template from './sky-nav.twig'; import { initSkyNav } from './sky-nav.ts'; +const basicStoryArgs = { + include_main_demo: true, + menu, +};