1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

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",
name: "Icon",

View file

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