import React from 'react';
import { Meta, StoryFn } from '@storybook/react';
import { Review, ReviewProps } from './Review';

export default {
  title: 'Organisms/Review',
  component: Review,
} as Meta;

const Template: StoryFn<ReviewProps> = (args) => <Review {...args} />;

export const Default = Template.bind({});

Default.args = {
  profileImage: 'images/avatar.jpeg',
  userName: 'Dinindu Kanchana',
  subHeader: '1 day ago',
  reviewContent:
    'I really love this product. Highly recommend it to anyone looking to learn how to best set up workshop templates!',
  rating: 2,
  likes: [
    {
      name: 'AA',
      image: 'images/avatar.jpeg',
    },
    {
      name: 'AA',
    },
    {
      name: 'AA',
    },
    {
      name: 'AA',
      image: 'images/avatar.jpeg',
    },
    {
      name: 'AA',
    },
  ],
};
