Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit a59da11

Browse files
committed
Add Header components to text stories
1 parent d09551b commit a59da11

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

stories/component/text.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ import React from 'react';
22
import { storiesOf } from '@storybook/react';
33
import Background from '../../src/component/background';
44
import MainContent from '../../src/component/main-content';
5-
import { Text, CopyText, H1Text } from '../../src/component/text';
5+
import {
6+
Text,
7+
CopyText,
8+
H1Text,
9+
H3Text,
10+
H4Text,
11+
} from '../../src/component/text';
612

713
storiesOf('Text', module)
814
.addDecorator(story => (
@@ -16,4 +22,6 @@ storiesOf('Text', module)
1622
.add('Copy Text', () => (
1723
<CopyText>The quick brown fox jumps over the lazy dog.</CopyText>
1824
))
19-
.add('Heading 1', () => <H1Text>Heading 1</H1Text>);
25+
.add('Heading 1', () => <H1Text>Heading 1</H1Text>)
26+
.add('Heading 3', () => <H3Text>Heading 3</H3Text>)
27+
.add('Heading 4', () => <H4Text>Heading 4</H4Text>);

0 commit comments

Comments
 (0)