mirror of https://github.com/Budibase/budibase.git
committed by
GitHub
6 changed files with 59 additions and 5 deletions
@ -0,0 +1,18 @@ |
|||
<script> |
|||
import { getContext } from "svelte" |
|||
import "@spectrum-css/divider/dist/index-vars.css" |
|||
|
|||
const { styleable } = getContext("sdk") |
|||
const component = getContext("component") |
|||
|
|||
export let size = "M" |
|||
|
|||
export let vertical = false |
|||
</script> |
|||
|
|||
<hr |
|||
use:styleable={$component.styles} |
|||
class="spectrum-Divider spectrum-Divider--{vertical |
|||
? 'vertical' |
|||
: 'horizontal'} spectrum-Dialog-divider spectrum-Divider--size{size}" |
|||
/> |
|||
Loading…
Reference in new issue