Skip to content

Commit

Permalink
1946 component live demo bug (carbon-design-system#2287)
Browse files Browse the repository at this point in the history
* update(content-switcher): update live demo props

* update(content-switcher): update live demo props

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and natashadecoste committed May 19, 2021
1 parent 8bab9d1 commit 45fdd17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ComponentDemo/ComponentDemo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ body[data-live-preview-theme='Gray 100'] ul[class^='bx--overflow-menu-options'],
}

[class*='--content-switcher-btn'] {
height: 2.5rem;
height: 100%;
}

[class*='--overflow-menu__icon'] {
Expand Down
3 changes: 2 additions & 1 deletion src/data/docgen/react-docgen.json
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,8 @@
"name": "enum",
"value": [
{ "value": "'sm'", "computed": false },
{ "value": "'xl'", "computed": false }
{ "value": "'md'", "computed": false },
{ "value": "'lg'", "computed": false }
]
},
"required": false,
Expand Down
1 change: 1 addition & 0 deletions src/pages/components/content-switcher/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ code usage documentation, see the Storybooks for each framework below.
id="content-switcher"
knobs={{
Switch: ['disabled'],
ContentSwitcher: ['size'],
}}
links={{
React:
Expand Down
1 change: 1 addition & 0 deletions src/pages/components/content-switcher/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ binary decision.
id="content-switcher"
knobs={{
Switch: ['disabled'],
ContentSwitcher: ['size'],
}}
links={{
React:
Expand Down

0 comments on commit 45fdd17

Please sign in to comment.