diff --git a/packages/switch/stories/index.stories.mdx b/packages/switch/stories/index.stories.mdx index 793de32a7..47c76b267 100644 --- a/packages/switch/stories/index.stories.mdx +++ b/packages/switch/stories/index.stories.mdx @@ -80,7 +80,7 @@ Simple example that illustrates where validation feedback will be displayed. id="newsletterCheck" name="newsletterCheck" label="Subscribe to newsletter" - .validators="${[new IsTrue()]}" + .validators="${[new IsTrue(null, {type: 'info'})]}" > `; }} @@ -108,6 +108,6 @@ const IsTrue = class extends Validator { id="newsletterCheck" name="newsletterCheck" label="Subscribe to newsletter" - .validators="${[new IsTrue()]}" + .validators="${[new IsTrue(null, {type: 'info'})]}" > ```