import React from 'react'
import { storiesOf } from '@storybook/react'
import { Heading, Text } from 'components/UI'
storiesOf('General', module).addWithChapters('Typography', {
subtitle: 'Text styles that we use throughout the app.',
info: `This page shows the various fonts and font styles that we use. All text uses the "Roboto" font family.`,
chapters: [
{
title: 'Heading',
sections: [
{
title: 'h1',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'h2',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'h3',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'h4',
sectionFn: () => The quick brown fox jumps over the lazy dog
}
]
},
{
title: 'Text (weights)',
sections: [
{
title: 'Normal',
sectionFn: () => (
The quick brown fox jumps over the lazy dog
)
},
{
title: 'Light',
sectionFn: () => The quick brown fox jumps over the lazy dog
}
]
},
{
title: 'Text (sizes)',
sections: [
{
title: 'Extra Extra large',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Extra Large',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Large',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Medium',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Small',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Extra Small',
sectionFn: () => The quick brown fox jumps over the lazy dog
},
{
title: 'Extra Extra Small',
sectionFn: () => The quick brown fox jumps over the lazy dog
}
]
}
]
})