import React from 'react'; import { storiesOf } from '@storybook/react-native'; import { Platform } from 'react-native'; import { Typography } from './Typography'; storiesOf('Components/Atoms/Typography', module) .add('Default', () => Base text) .add('Theme colors', () => ( <> Red - Hue 300 Blue - Hue 400 Green - Hue 500 Orange - Hue 600 Grey - Hue 500 And many more... )) .add('Headline variants', () => ( <> Headline 1 Headline 2 Headline 3 Headline 4 Headline 5 Headline 6 )) .add('Body variants', () => ( <> Body 1 Body 2 )) .add('Subtitle variants', () => ( <> Subtitle 1 Subtitle 2 )) .add('Other variants', () => ( <> Button Caption Overline )) .add('Decoration', () => ( <> Underline Line through {Platform.OS === 'web' && ( Line through with color (Web only) )} Underline and line through ));