-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PEAUTY-133] 고객 관점 요청서 #67
Conversation
💄 Storybook: https://674ed57ea9f6bd66479b5aba-schqacuivp.chromatic.com/ |
|
||
const handleChoosePet = (pet: (typeof dummyPet)[number]) => { | ||
setSelectedPetId(pet.puppyId); | ||
console.log("Clicked Pet:", pet); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요 주희님
로그는
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
완전 코드도 깔끔하게 UI 해주신 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
컴플릭트 해결후 합쳐주시면 될 것 같습니다!
9e11dca
to
02771b1
Compare
export default function PetEdit() { | ||
const dogBreeds = ["말티즈", "푸들", "말티푸", "비숑", "시츄"]; // 더미 데이터 (나중에 api로 get 해올 것) | ||
const dummyDogBreeds = ["말티즈", "푸들", "말티푸", "비숑", "시츄"]; // 더미 데이터 (나중에 api로 get 해올 것) | ||
const [selectedBreed, setSelectedBreed] = useState<string>(""); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분 아마 이넘타입이라 그거에 맞게 넣기만 하면 될 것 같습니다!
import { colors } from "../../../../../../style/color"; | ||
export interface DropBoxProps { | ||
label?: string; // Optional label text | ||
placeholder: string; // Default text for the dropdown | ||
options: string[]; // List of options (e.g., "Maltese", "Poodle") | ||
onSelect: (value: string) => void; // Callback for when an option is selected | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
나중에 주석은 지워주세요!
💻 작업 내용
📷 이미지 첨부
더 자세한 설명을 위해 첨부하실 이미지가 있다면 첨부해주세요.
미용할 반려견 선택 UI 전 후 비교
🧠 PR 체크
완료하셨다면 띄어쓰기 대신 [] 사이에 소문자 x로 표시해주세요.