mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Update examples/vue-3-cli/src/stories/DynamicHeading.stories.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
parent
ecb17c3120
commit
d970cf1456
@ -7,7 +7,7 @@ export default {
|
|||||||
component: DynamicHeading,
|
component: DynamicHeading,
|
||||||
argTypes: {
|
argTypes: {
|
||||||
// Number type is detected, but we still want to constrain the range from 1-6
|
// Number type is detected, but we still want to constrain the range from 1-6
|
||||||
level: { control: { min: 1, max: 6 } },
|
level: { control: { type: 'range', min: 1, max: 6 } },
|
||||||
},
|
},
|
||||||
decorators: [
|
decorators: [
|
||||||
(storyFn) => {
|
(storyFn) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user