import { storiesOf } from '@storybook/react'; import React from 'react'; import { FontFamily } from '.'; import * as tokens from '../../tokens'; const stories = storiesOf('Fonts', module) as any; tokens.fontFamilies.tokens.forEach((font: any, i: number) => { stories.addWithJSX(font.name, () => ); });