-
Notifications
You must be signed in to change notification settings - Fork 3
FilePicker
Jonathan Langlois edited this page Dec 1, 2020
·
3 revisions
Input to select a file. We may want to use a pre-made component when js enabled, and props may need to be updated depending on the component chosen. Can use HTML <input type="file" />
as fallback.
Group | Prop | Type | Description |
---|---|---|---|
Sizes | mini | boolean | Sizing options intended to modify font-size and padding |
tiny | |||
small | |||
medium | |||
large | |||
big | |||
huge | |||
Proportion | full-height (non-themable) | boolean | Component takes 100% of parent height |
full-width (non-themable) | Component takes 100% of parent width | ||
Disabled | disabled | boolean | Disable input |
- it selects a file using HTML file input type
- it applies the theme styles; no additional functional enhancement.
- TBD, can decide to use an external component for additional interactivity.