diff --git a/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx b/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx index d670b0b908..cf9fa6e6c6 100644 --- a/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx +++ b/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx @@ -15,19 +15,37 @@ */ import React, { useState } from 'react'; import { TabbedCard, CardTab } from '.'; +import { Grid } from '@material-ui/core'; + +const cardContentStyle = { height: 200, width: 500 }; export default { title: 'Tabbed Card', component: TabbedCard, + decorators: [ + storyFn => ( + + {storyFn()} + + ), + ], }; export const Default = () => { return ( - some content 1 - some content 2 - some content 3 - some content 4 + +
Some content
+
+ +
Some content 2
+
+ +
Some content 3
+
+ +
Some content 4
+
); }; @@ -37,10 +55,18 @@ const linkInfo = { title: 'Go to XYZ Location', link: '#' }; export const WithFooterLink = () => { return ( - some content 1 - some content 2 - some content 3 - some content 4 + +
Some content
+
+ +
Some content 2
+
+ +
Some content 3
+
+ +
Some content 4
+
); }; @@ -60,16 +86,16 @@ export const WithControlledTabValue = () => { title="Controlled Value Example" > - some content 1 +
Some content
- some content 2 +
Some content 2
- some content 3 +
Some content 3
- some content 4 +
Some content 4