File selector organism #8
Replies: 0 comments 5 replies
-
From my side I think it's good to start on all the (optional) props you mentioned. |
Beta Was this translation helpful? Give feedback.
-
💭 We can add a property to display the unit of the file size to display something like '15 MB' or '15000 KB' or '0.015 GB'. And maybe even an additional one for rounding. |
Beta Was this translation helpful? Give feedback.
-
After discussions with @fredericvilcot @lolottetheclash and @ErikssonJoakim, we decided to :
|
Beta Was this translation helpful? Give feedback.
-
🎯 The purpose of this discussion is to allow users to select files through to the
FileInput
component and view the selected files through to theList
andListItem
components.💡 To do this, I propose to implements an
organism
that can provide aFileInput
, aList
and manage redux stores to meet this use case.📝 This organism can provide the following props (from the FileInput) :
label
,description
multiple
acceptedFormats
size
💬 We can talk together about the error properties :
error
anderrorMessage
.🗳 I propose the following names for this organism, feel free to provide a better one :
🙏 Please do not hesitate to share your ideas @fredericvilcot @lolottetheclash @ErikssonJoakim @ccamel
Beta Was this translation helpful? Give feedback.
All reactions