OperationCode/front-end

View on GitHub
components/PartnerLogoLink/__stories__/PartnerLogoLink.stories.tsx

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { Meta, StoryObj } from '@storybook/react';
import { s3 } from 'common/constants/urls';
import PartnerLogoLink from '../PartnerLogoLink';

type PartnerLogoLinkStoryType = StoryObj<typeof PartnerLogoLink>;

const meta: Meta<typeof PartnerLogoLink> = {
  title: 'PartnerLogoLink',
  component: PartnerLogoLink,
  args: {
    logoSource: `${s3}partnerLogos/github.png`,
    name: 'Partner Name',
    url: '#',
  },
};

export default meta;

export const Default: PartnerLogoLinkStoryType = {
  render: args => <PartnerLogoLink {...args} />,
};