The function withInfo(...)
in @storybook/addon-info
accepts 0 or 1 argument.
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';
const { Component } = React;
storiesOf('Component', module)
.add('no info',