import React from 'react'; import {storiesOf} from '@storybook/react'; import {withInfo} from '@storybook/addon-info'; import AlertLink from 'app/components/alertLink'; storiesOf('UI|Alerts/AlertLink', module) .add( 'default', withInfo('A way to loudly link between different parts of the application')(() => [ Check out the notifications settings panel. , Do not forget to read the docs ya dum dum! , Install this thing or else! , Gj you did it. Now go here. , I am saying nothing, ok? , ]) ) .add( 'with an icon', withInfo('You can optionally pass an icon src')(() => [ Check out the notifications settings panel. , Do not forget to read the docs ya dum dum! , Install this thing or else! , Gj you did it. Now go here. , I am saying nothing, ok? , ]) );