accept
説明
File types to accept.
タイプ
string[] | Accept
Yamada UIにスターをあげる
スターDropzone
は、ファイルをドラッグアンドドロップでアップロードするために使用されるコンポーネントです。
説明
File types to accept.
タイプ
string[] | Accept
説明
The visual color appearance of the component.
タイプ
"whiteAlpha" | "blackAlpha" | "gray" | "neutral" | "red" | "danger" | "rose" | "pink" | "flashy" | "orange" | "warning" | "amber" | "yellow" | "lime" | "green" | "success" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "primary" | "info" | "link" | "indigo" | "violet" | "secondary" | "purple" | "fuchsia"
説明
The border color when the input is invalid.
タイプ
"border" | "link" | BorderColor | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 320 more ... | [...]
説明
The border color when the input is focused.
タイプ
"border" | "link" | BorderColor | "current" | "focus" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | ... 320 more ... | [...]
説明
If true
, the form control will be disabled.
タイプ
boolean
デフォルト
false
説明
If true
, the form control will be invalid.
タイプ
boolean
デフォルト
false
説明
If true
, display the dropzone loading icon.
タイプ
boolean
デフォルト
false
説明
If true
, the form control will be readonly.
タイプ
boolean
デフォルト
false
説明
If true
, the form control will be required.
タイプ
boolean
デフォルト
false
説明
Props for dropzone loading icon element.
タイプ
LoadingProps
説明
Ref to a open function.
タイプ
type ONLY_FOR_FORMAT =
| ((instance: (() => void | undefined) | null) => void)
| MutableRefObject<(() => void | undefined) | null>
説明
Props for dropzone overlay element.
タイプ
FadeProps
説明
The size of the Dropzone.
タイプ
"xs" | "sm" | "md" | "lg" | "full"
デフォルト
sm
説明
The variant of the Dropzone.
タイプ
"solid" | "dashed" | "unstyled"
デフォルト
dashed
GitHubでこのページを編集する