react-media-library
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -11,3 +11,3 @@ import * as React from "react"; | ||
React.createElement(FileUpload, { fileUploadCallback: props.fileUploadCallback }))), | ||
(props.fileLibraryList.length > 0) && (React.createElement(Tab, { eventKey: "library", title: "Library" }, | ||
(Array.isArray(props.fileLibraryList) && props.fileLibraryList.length > 0) && (React.createElement(Tab, { eventKey: "library", title: "Library" }, | ||
React.createElement(FileLibrary, { fileLibraryList: props.fileLibraryList, fileSelectCallback: props.fileSelectCallback, fileDeleteCallback: props.fileDeleteCallback, libraryCardComponent: props.libraryCardComponent }))))); | ||
@@ -14,0 +14,0 @@ }; |
{ | ||
"name": "react-media-library", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "React Media Library is a UI package similar to the WordPress media library, but for React. It features file drag-and-drop as well as a library to select previously uploaded files.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Richard1320/React-Media-Library#readme", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268617