Skip to content

Commit

Permalink
fix: 이미지 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Yejiin21 committed Jan 24, 2025
1 parent 87dab61 commit de8a6ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions design-system/stories/textFields/SearchTextField.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import SearchTextField from '../../ui/textFields/SearchTextField';
import search from '../../icons/Search.svg';

const meta = {
title: 'TextFields/SearchTextField',
Expand Down Expand Up @@ -34,7 +33,7 @@ type Story = StoryObj<typeof meta>;

export const Default: Story = {
args: {
iconPath: <img src={search} alt="검색" />,
iconPath: '../../icons/Search.svg',
onChange: e => console.log(e.target.value),
placeholder: '입력해주세요',
},
Expand Down
2 changes: 1 addition & 1 deletion design-system/ui/textFields/SearchTextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { flexCenter } from '../../styles/flex';

interface SearchTextFieldProps {
value?: string;
iconPath: React.ReactElement;
iconPath: string;
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
onClick?: () => void;
placeholder?: string;
Expand Down

0 comments on commit de8a6ee

Please sign in to comment.