AssetPickerDialog
A dialog which allows the creation and selection of assets.
Parameters
props
parameter
AssetPickerDialogPropsProps for the AssetPickerDialog component.
open
property
booleanWhether the dialog is open.
onClose
property
() => voidThe function to call when the dialog is closed.
onSelect
property
(assets: Asset[]) => voidThe function to call when assets are selected.
multiSelect
property
booleanWhether multiple assets can be selected.
initialSelectedAssets
property
Asset[]The initial assets that should be selected.
title
property
stringThe title of the dialog.
Was this chapter helpful?