All files / app/src/shared/lib/optional-link-wrapper optional-link-wrapper.stories.tsx

100% Statements 12/12
100% Branches 1/1
100% Functions 1/1
100% Lines 12/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 191x       1x 1x 1x 1x 1x   1x 1x 1x 1x     1x 1x  
import { Story, Meta } from '@storybook/react'
import { mock } from 'mockjs'
import { OptionalLinkWrapper, OptionalLinkWrapperProps } from './optional-link-wrapper'
 
export default {
  title: 'Shared/Optional Link Wrapper',
  component: OptionalLinkWrapper,
  args: mock({ href: '@guid' }),
} as Meta
 
const Template: Story<OptionalLinkWrapperProps> = args => (
  <OptionalLinkWrapper {...args}>
    <h3>Ссылка</h3>
  </OptionalLinkWrapper>
)
 
export const Default = Template.bind({})
Default.args = {}