2021-04-14 14:52:25 +02:00
|
|
|
<script>
|
2021-04-20 12:53:19 +02:00
|
|
|
import "@spectrum-css/divider/dist/index-vars.css"
|
2021-04-27 16:25:39 +02:00
|
|
|
export let size = "M"
|
2021-04-20 12:53:19 +02:00
|
|
|
|
|
|
|
export let vertical = false
|
2021-04-22 14:59:00 +02:00
|
|
|
export let noMargin = false
|
|
|
|
export let noGrid = false
|
2021-04-14 14:52:25 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<hr
|
2021-04-22 14:59:00 +02:00
|
|
|
class:noMargin
|
|
|
|
class:noGrid
|
2021-04-27 16:25:39 +02:00
|
|
|
class="spectrum-Divider spectrum-Divider--{vertical
|
|
|
|
? 'vertical'
|
|
|
|
: 'horizontal'} spectrum-Dialog-divider spectrum-Divider--size{size}"
|
|
|
|
/>
|
2021-04-22 14:59:00 +02:00
|
|
|
|
|
|
|
<style>
|
|
|
|
hr.noMargin {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
hr.noGrid {
|
|
|
|
grid-area: auto;
|
|
|
|
}
|
|
|
|
</style>
|