This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor and change `CardBlock` to `Card.Block` * Update documentation + tests for `Card.Block` * Export `Scrollable`, `Portal`, `PortalWrapper`, and `RouteWrapper`
- Loading branch information
ItsJonQ
committed
Sep 13, 2017
1 parent
7753b8d
commit f53ba5d
Showing
9 changed files
with
61 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ponents/CardBlock/tests/CardBlock.test.js → src/components/Card/tests/Card.Block.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import React from 'react' | ||
import { storiesOf } from '@storybook/react' | ||
import { Card, CardBlock } from '../src/index.js' | ||
import { Card } from '../src/index.js' | ||
|
||
storiesOf('Card', module) | ||
.add('default', () => <Card>Hello</Card>) | ||
.add('link', () => <Card href='https://www.helpscout.net/'>Link to: https://www.helpscout.net/</Card>) | ||
.add('block', () => ( | ||
<Card seamless> | ||
<CardBlock>Block One</CardBlock> | ||
<CardBlock>Block Two</CardBlock> | ||
<CardBlock>Block Three</CardBlock> | ||
<Card.Block>Block One</Card.Block> | ||
<Card.Block>Block Two</Card.Block> | ||
<Card.Block>Block Three</Card.Block> | ||
</Card> | ||
)) |