FilePicker
API docs for the Toolpad Studio FilePicker component.
File Picker component. It allows users to take select and read files.
Properties
Name | Type | Default | Description |
---|---|---|---|
value | object | The value that is controlled by this FilePicker. | |
label | string | A label that describes the content of the FilePicker, for example "Profile Image". | |
multiple | boolean | true | Whether the FilePicker should accept multiple files. |
disabled | boolean | Whether the FilePicker is disabled. | |
name | string | Name of this input. Used as a reference in form data. | |
isRequired | boolean | false | Whether the input is required to have a value. |
sx | object | The sx prop is used for defining custom styles that have access to the theme. All MUI System properties are available via the sx prop. In addition, the sx prop allows you to specify any other CSS rules you may need. |