mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Update behavior when optional props are not passed, Consistency towards two CardColumns established
This commit is contained in:
@@ -44,5 +44,8 @@ storiesOf("CardColumnSmall", module)
|
||||
.addDecorator(story => <MemoryRouter initialEntries={["/"]}>{story()}</MemoryRouter>)
|
||||
.addDecorator(storyFn => <Container>{storyFn()}</Container>)
|
||||
.add("default", () => (
|
||||
<CardColumnSmall link={link} icon={icon} contentLeft={contentLeft} contentRight={contentRight} />
|
||||
<CardColumnSmall link={link} avatar={icon} contentLeft={contentLeft} contentRight={contentRight} />
|
||||
))
|
||||
.add("minimal", () => (
|
||||
<CardColumnSmall link={link} contentLeft={contentLeft} contentRight={contentRight} />
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user