diff --git a/changelog/unreleased/678 b/changelog/unreleased/678 new file mode 100644 index 000000000..076ceef79 --- /dev/null +++ b/changelog/unreleased/678 @@ -0,0 +1,7 @@ +Enhancement: Added iconUrl to oc-file element + +The oc-file element now supports passing an arbitrary URL to be displayed as a file thumbnail. +It will fall back to the icon name in case the thumbnail could not be loaded. + +https://github.com/owncloud/owncloud-design-system/pull/678 + diff --git a/src/assets/examples/lorem.png b/src/assets/examples/lorem.png new file mode 100644 index 000000000..a02ced103 Binary files /dev/null and b/src/assets/examples/lorem.png differ diff --git a/src/elements/OcFile.vue b/src/elements/OcFile.vue index 334a30dc2..44ac5aa00 100644 --- a/src/elements/OcFile.vue +++ b/src/elements/OcFile.vue @@ -1,6 +1,6 @@