From fb617e5685c6baf609f219973db36a1d6972be1d Mon Sep 17 00:00:00 2001 From: dakahn Date: Thu, 14 Jul 2022 18:36:01 -0500 Subject: [PATCH] docs(Dropdown): add missing props to args --- .../components/Dropdown/Dropdown.stories.js | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/packages/react/src/components/Dropdown/Dropdown.stories.js b/packages/react/src/components/Dropdown/Dropdown.stories.js index ac94d526a009..4fb7009bef49 100644 --- a/packages/react/src/components/Dropdown/Dropdown.stories.js +++ b/packages/react/src/components/Dropdown/Dropdown.stories.js @@ -89,6 +89,12 @@ Playground.argTypes = { }, defaultValue: false, }, + invalidText: { + control: { + type: 'text', + }, + defaultValue: 'invalid selection', + }, disabled: { control: { type: 'boolean', @@ -101,16 +107,16 @@ Playground.argTypes = { }, defaultValue: false, }, - light: { + helperText: { control: { - type: 'boolean', + type: 'text', }, - defaultValue: false, }, - helperText: { + label: { control: { type: 'text', }, + defaultValue: 'this is an example label', }, warn: { control: { @@ -118,6 +124,18 @@ Playground.argTypes = { }, defaultValue: false, }, + warnText: { + control: { + type: 'text', + }, + defaultValue: 'please notice the warning', + }, + titleText: { + control: { + type: 'text', + }, + defaultValue: 'this is an example title', + }, size: { options: ['sm', 'md', 'lg'], control: { type: 'select' },