release: WRNexusJS 0.3.5
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
component Typography {
|
||||
props {
|
||||
as = "p"
|
||||
variant = "body"
|
||||
align = "start"
|
||||
size = "default"
|
||||
color = "primary"
|
||||
columns = 2
|
||||
gap = "md"
|
||||
maxWidth = "xl"
|
||||
class = ""
|
||||
}
|
||||
view {
|
||||
<div class="wire-type wire-type--{variant} wire-text--{align} {class}"><slot /></div>
|
||||
<article class="wire-next wire-next--color-{color} wire-next--size-{size} wire-next--typography wire-next--gap-{gap} wire-next--columns-{columns} wire-next--max-{maxWidth} {class}"><slot /></article>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user