diff --git a/ui/packages/consul-ui/app/components/notice/README.stories.mdx b/ui/packages/consul-ui/app/components/notice/README.stories.mdx index 7bb78f77dc..3731ec5bf8 100644 --- a/ui/packages/consul-ui/app/components/notice/README.stories.mdx +++ b/ui/packages/consul-ui/app/components/notice/README.stories.mdx @@ -1,13 +1,27 @@ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; import { hbs } from 'ember-cli-htmlbars'; -import { select } from '@storybook/addon-knobs'; # Notice - {{ + {(args) => ({ template: hbs` @@ -25,17 +39,8 @@ import { select } from '@storybook/addon-knobs';

`, - context: { - type: select('type', { - 'success': 'success', - 'warning': 'warning', - 'info': 'info', - 'highlight': 'highlight', - }, - 'success' - ), - } - }} + context: args + })}