release: WRNexusJS 0.2.51
This commit is contained in:
@@ -1 +1,9 @@
|
||||
component Table { props { caption = "Data table" responsive = true } view { <div class="w-full overflow-x-auto rounded-2xl border border-slate-200 dark:border-slate-800"><table class="w-full min-w-[640px] border-collapse text-left text-sm"><caption class="sr-only">{caption}</caption><slot /></table></div> } }
|
||||
component Table {
|
||||
props {
|
||||
caption = "Data table"
|
||||
responsive = true
|
||||
}
|
||||
view {
|
||||
<div class="w-full overflow-x-auto rounded-2xl border border-slate-200 dark:border-slate-800"><table class="w-full min-w-[640px] border-collapse text-left text-sm"><caption class="sr-only">{caption}</caption><slot /></table></div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user