-
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
[Review] Kiet Nguyen - React Practice #1 #302
Comments
Because I customed the select option to make it the same as with the design. But I can't customize all the select options as I want so I try to create another selection by myself. And use onClick instead onChange because the selection which I customed just a div or span |
About this, I have a small note at the end of README.md. Do you mean that the note is not working and needs to be added |
I see, but if another component uses Select, can it take Select's value when the value changes? I don't see any action to take this value. |
My bad. I see the note now. But it needs a bit update, the .npmrc is already existed, usually at home (~), no need to create. |
I have a callback function onClick to do those things. Pass function set state from Form component to Select Component and Select Item component and get it with e.target. You can see it more clearly in Form component |
to
|
It can be like this
similar for other props |
classes
prop if there is only one formtype
prop? if you have checkbox, radio button, etc, they should be other componentsselect
tag?interface
folder, some defined directly in components, make sure the define location is consistent and has a purposeThe text was updated successfully, but these errors were encountered: