Commit a8531978 by Alex Khomenko Committed by GitHub

Grafana-UI: add storysource addon to Storybook (#22490)

* Add @storybook/addon-storysource

* Enable the addon

* Fix Select label

* Lock storysource version
parent 0c020f22
......@@ -5,5 +5,6 @@ module.exports = {
'@storybook/addon-actions',
'@storybook/addon-docs',
'storybook-dark-mode/register',
'@storybook/addon-storysource',
],
};
......@@ -98,7 +98,7 @@ const renderForm = (defaultValues?: Partial<FormDTO>) => (
<Forms.InputControl name="radio" control={control} options={selectOptions} as={RadioButtonGroup} />
</Field>
<Field label="RadioButton" invalid={!!errors.select}>
<Field label="Select" invalid={!!errors.select}>
<Forms.InputControl
name="select"
control={control}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment