import React from 'react'; import { action } from 'storybook/actions'; import { getWrapperDecorator } from '../../stories'; import { EntryInfo } from '.'; export default { title: 'Components/EntryInfo', component: EntryInfo, decorators: [getWrapperDecorator()], }; const RUNS = [ { name: 'static/vendor.abcd1234.js', value: 982690, }, { name: 'static/vendor.defg5678.js', value: 1022530, displayValue: '998.56KiB', }, ]; export const Default = () => ( ); export const Added = () => ( ); export const Removed = () => ( ); export const WithCustomContent = () => ( Critical tags} onClose={action('CLOSE')} >
value 1 value 2
custom entry info 1
custom entry info 2
);