Skip to content

Commit

Permalink
fix(storybook): update devtools toolbar for storybook 7 (#14179)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
janhassel and kodiakhq[bot] committed Jul 11, 2023
1 parent 5beb2b9 commit a72388e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/react/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ import theme from './theme';

const devTools = {
layoutSize: {
name: 'unstable__Layout size',
description: "Set the layout context's size",
defaultValue: false,
toolbar: {
showName: true,
title: 'unstable__Layout size',
items: [
{
value: false,
Expand All @@ -46,11 +45,10 @@ const devTools = {
},
},
layoutDensity: {
name: 'unstable__Layout density',
description: "Set the layout context's density",
defaultValue: false,
toolbar: {
showName: true,
title: 'unstable__Layout density',
items: [
{
value: false,
Expand Down

0 comments on commit a72388e

Please sign in to comment.