The property dataSource
in the interface MediaViewerProps
is deprecated in @atlaskit/media-viewer@47.5.0
The optional pageSize
property is also no longer supported without a workaround.
dataSource
can no longer accept a collection name. From now, only a list of files will be allowed. Hence pageSize
is also no longer accepted.
Consumers using collectionName
as the dataSource
should prepare the list of files contained in their collection and pass it through the new items
property