Norbert de Langen c2bbe43d02
stage0
2022-07-21 11:24:07 +02:00

9 lines
210 B
JavaScript

import { addons } from '@storybook/addons';
import startCase from 'lodash/startCase';
addons.setConfig({
sidebar: {
renderLabel: ({ name, type }) => (type === 'story' ? name : startCase(name)),
},
});