VizLegend: sets a min and max value of the seriesCount control in Storybook (#33022)

This commit is contained in:
Uchechukwu Obasi 2021-04-15 12:51:00 +01:00 committed by GitHub
parent 0cc620aea7
commit ffe90b7abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,13 @@ export default {
options: ['200px', '500px', '100%'],
},
},
seriesCount: {
control: {
type: 'number',
min: 1,
max: 8,
},
},
},
} as Meta;