Skip to content

Commit

Permalink
fix: 컴포넌트명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
WooDaeHyun committed Nov 4, 2023
1 parent 013854a commit 856454c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Meta, StoryObj } from '@storybook/react';
import SimpleGroup from '@/v1/bookgroup/SimpleGroup';
import SimpleBookGroupCard from '@/v1/bookgroup/SimpleBookGroupCard';

const meta: Meta<typeof SimpleGroup> = {
title: 'BookGroup/SimpleGroup',
component: SimpleGroup,
const meta: Meta<typeof SimpleBookGroupCard> = {
title: 'BookGroup/SimpleBookGroupCard',
component: SimpleBookGroupCard,
tags: ['autodocs'],
};

export default meta;

type Story = StoryObj<typeof SimpleGroup>;
type Story = StoryObj<typeof SimpleBookGroupCard>;

const moveGroupDetail = () => {
alert('모임 상세 페이지로 이동');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import Image from 'next/image';

interface SimpleGroupProps {
interface SimpleBookGroupCardProps {
title: string;
isOwner: boolean;
imageSource: string;
handleClick: () => void;
}

const SimpleGroup = ({
const SimpleBookGroupCard = ({
title,
isOwner,
handleClick,
imageSource,
}: SimpleGroupProps) => {
}: SimpleBookGroupCardProps) => {
return (
<div
className="flex h-[15rem] w-[10rem] flex-col gap-[0.5rem]"
Expand All @@ -36,4 +36,4 @@ const SimpleGroup = ({
);
};

export default SimpleGroup;
export default SimpleBookGroupCard;

0 comments on commit 856454c

Please sign in to comment.