Props for the AssetPickerDialog component.
booleanWhether the dialog is open.
() => voidThe function to call when the dialog is closed.
(assets: Asset[]) => voidThe function to call when assets are selected.
booleanWhether multiple assets can be selected.
Asset[]The initial assets that should be selected.
stringThe title of the dialog.
stringAn optional page ID for the dialog. When provided, this is exposed via the
internal PageContext so that extensions can register
DashboardActionBarItems targeted at this specific dialog. Any
registered action bar items will be rendered in the dialog footer.
Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.