import React from 'react'; import {withInfo} from '@storybook/addon-info'; import ResolutionBox from 'app/components/resolutionBox'; import MutedBox from 'app/components/mutedBox'; const actor = { email: 'uhoh@example.com', name: 'Uhoh', }; const RESOLVED_IN_COMMIT = { actor, inCommit: { id: 'deadbeefdeadface', repository: { name: 'getsentry/sentry', provider: { id: 'github', }, }, dateCreated: '2020-07-01 12:13:14', }, }; export default { title: 'Issues/ResolutionBox & MutedBox', }; export const ResolvedStates = withInfo('Basic resolution & resolved by commit')(() => (