1
0
Fork 0
mirror of synced 2024-07-01 12:30:41 +12:00

Add size setting back to table

This commit is contained in:
Andrew Kingston 2021-08-25 09:56:42 +01:00
parent c8382596eb
commit 1733e54a25
2 changed files with 18 additions and 1 deletions

View file

@ -2325,6 +2325,22 @@
"dependsOn": "dataProvider",
"placeholder": "All columns"
},
{
"type": "select",
"label": "Size",
"key": "size",
"defaultValue": "spectrum--medium",
"options": [
{
"label": "Medium",
"value": "spectrum--medium"
},
{
"label": "Large",
"value": "spectrum--large"
}
]
},
{
"type": "boolean",
"label": "Quiet",

View file

@ -8,6 +8,7 @@
export let showAutoColumns
export let rowCount
export let quiet
export let size
const component = getContext("component")
const { styleable } = getContext("sdk")
@ -71,7 +72,7 @@
}
</script>
<div use:styleable={$component.styles}>
<div use:styleable={$component.styles} class={size}>
<Table
{data}
{schema}