Image Component

Image component added to builder
This commit is contained in:
Joe 2020-06-09 11:06:18 +01:00
parent cf0e1f8c79
commit bd908a6e67
2 changed files with 13 additions and 0 deletions

View File

@ -187,6 +187,17 @@ export default {
],
},
},
{
_component: "@budibase/standard-components/image",
name: "Image",
description: "A basic component for displaying images",
icon: "ri-image-fill",
children: [],
properties: {
design: { ...all },
settings: [{label: "URL", key: "url", control: Input }],
},
},
{
_component: "@budibase/standard-components/icon",
name: "Icon",

View File

@ -7,6 +7,8 @@
export let height
export let width
export let _bb
$: style = buildStyle({ height, width })
</script>