Skip to content

Commit

Permalink
🚧 Test storybook composition w datagrid
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes committed Jul 5, 2023
1 parent 8ede331 commit b62ec8f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/eds-core-react/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ const config = {
framework: {
name: '@storybook/react-vite',
},
refs: (config, { configType }) => {
if (configType === 'DEVELOPMENT') {
return {}
}
return {
'@equinor/eds-data-grid-react': {
title: 'EDS Data grid',
url: 'https://s478stedsstorybookdatag.z16.web.core.windows.net/',
expanded: false,
},
}
},
async viteFinal(config) {
return {
...config,
Expand Down

0 comments on commit b62ec8f

Please sign in to comment.