release: WRNexusJS 0.3.5
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
component Divider {
|
||||
props {
|
||||
className = ""
|
||||
size = "default"
|
||||
color = "primary"
|
||||
label = ""
|
||||
orientation = "horizontal"
|
||||
class = ""
|
||||
}
|
||||
view {
|
||||
<div class="h-px w-full bg-slate-200 dark:bg-slate-800 {className}"><slot /></div>
|
||||
<div class="wire-next wire-next--color-{color} wire-next--size-{size} wire-next--divider wire-next--divider-{orientation} {class}" role="separator" aria-orientation="{orientation}">{#if label}<span>{label}</span>{/if}</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user