Skip to content

Commit

Permalink
chore(storybook): add version number to storybook (#5514)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <[email protected]>
  • Loading branch information
tw15egan and joshblack authored Mar 4, 2020
1 parent b9a5c9e commit 68fb8ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
CARBON_TYPE_TOKEN,
} from './addon-carbon-theme/shared';
import Container from './Container';
import PackageInfo from './../package.json';

const customPropertyPrefix = 'cds';

Expand All @@ -35,7 +36,7 @@ addParameters({
// display in alphabetic order
storySort: (a, b) => a[1].id.localeCompare(b[1].id),
theme: {
brandTitle: 'carbon components react',
brandTitle: `Carbon Components React v${PackageInfo.version}`,
brandUrl:
'https://github.com/carbon-design-system/carbon/tree/master/packages/react',
},
Expand Down

0 comments on commit 68fb8ef

Please sign in to comment.