Skip to content

Commit a72388e

Browse files
fix(storybook): update devtools toolbar for storybook 7 (#14179)
* fix(storybook): update devtools toolbar for storybook 7 * fix(storybook): remove unnecessary key --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 5beb2b9 commit a72388e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/react/.storybook/preview.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ import theme from './theme';
2626

2727
const devTools = {
2828
layoutSize: {
29-
name: 'unstable__Layout size',
3029
description: "Set the layout context's size",
3130
defaultValue: false,
3231
toolbar: {
33-
showName: true,
32+
title: 'unstable__Layout size',
3433
items: [
3534
{
3635
value: false,
@@ -46,11 +45,10 @@ const devTools = {
4645
},
4746
},
4847
layoutDensity: {
49-
name: 'unstable__Layout density',
5048
description: "Set the layout context's density",
5149
defaultValue: false,
5250
toolbar: {
53-
showName: true,
51+
title: 'unstable__Layout density',
5452
items: [
5553
{
5654
value: false,

0 commit comments

Comments
 (0)