-
Notifications
You must be signed in to change notification settings - Fork 16
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
UploadField component adapted to the new design system #545
Conversation
This pull request has been linked to Shortcut Story #268673: COMPONENTS - Basic components (forms). |
placeholder: 'Drag and drop your file or click to browse', | ||
dragPlaceholder: 'Drop your file here...', | ||
buttonText: 'Browse', | ||
accept: 'application/JSON', |
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.
Is this comma separated, in the case of various types? Should we use the opportunity to have accept as an array externally?
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.
I updated the prop, I think I got you right, if not feel free to modify anything. Thank you!
@@ -216,7 +213,7 @@ type TooltipDataProps = { | |||
}; | |||
|
|||
// SelectField | |||
export interface SelectFieldProps { | |||
export interface SelectFieldProps extends TextFieldProps { |
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.
👍🏻
Description
Shortcut: #268673
[sc-268673]