release: WRNexusJS 0.2.51
This commit is contained in:
@@ -1 +1,9 @@
|
||||
component FormErrorSummary { props { title = "Please fix the following" visible = true } view { <section data-show="visible" role="alert" aria-live="polite" class="rounded-2xl border border-red-200 bg-red-50 p-4 text-red-900 dark:border-red-900/60 dark:bg-red-950/40 dark:text-red-200"><h3 class="font-semibold">{title}</h3><div class="mt-2 text-sm"><slot /></div></section> } }
|
||||
component FormErrorSummary {
|
||||
props {
|
||||
title = "Please fix the following"
|
||||
visible = true
|
||||
}
|
||||
view {
|
||||
<section data-show="visible" role="alert" aria-live="polite" class="rounded-2xl border border-red-200 bg-red-50 p-4 text-red-900 dark:border-red-900/60 dark:bg-red-950/40 dark:text-red-200"><h3 class="font-semibold">{title}</h3><div class="mt-2 text-sm"><slot /></div></section>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user