chore(switch): improve storybook demo
This commit is contained in:
parent
e9611c6a3e
commit
32980e0180
1 changed files with 2 additions and 2 deletions
|
|
@ -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'})]}"
|
||||
></lion-switch>
|
||||
`;
|
||||
}}
|
||||
|
|
@ -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'})]}"
|
||||
></lion-switch>
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue