Skip to content

Commit

Permalink
fix: Search.svg 파일 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Yejiin21 committed Jan 31, 2025
1 parent 9305b05 commit 322d697
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions design-system/stories/textFields/SearchTextField.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';
import SearchTextField from '../../ui/textFields/SearchTextField';
import Search from '../../icons/Search.svg';
// import Search from '../../icons/Search.svg';

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

export const Default: Story = {
args: {
iconPath: <img src={Search} alt="Search" />,
// iconPath: <img src={Search} alt="Search" />,
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?: React.ReactElement;
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
onClick?: () => void;
placeholder?: string;
Expand Down

0 comments on commit 322d697

Please sign in to comment.