Image Component

Image component added to builder
This commit is contained in:
Joe 2020-06-09 11:06:18 +01:00
parent df2cc03e91
commit fc39ab7bc1
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", _component: "@budibase/standard-components/icon",
name: "Icon", name: "Icon",

View File

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