AutoTable types + footer element

This commit is contained in:
2026-07-16 16:22:59 -04:00
parent 81f0c0624e
commit 055dbe3004
2 changed files with 20 additions and 9 deletions

View File

@@ -97,6 +97,15 @@ type CommonInputAttrs =
// Subsets valid for <select> (excludes input-only attrs)
type CommonSelectAttrs = Exclude<CommonInputAttrs, "maxlength" | "inputmode" | "placeholder" | "readonly" | "maxLength" | "inputMode">;
interface FormLabelProps {
inline?: boolean;
for?: string;
title?: string;
class?: string;
onDark?: boolean;
children?: JSXElement;
}
export interface FormInputCommonProps {
passwordManagerIgnore?: boolean;
error?: string;
@@ -843,7 +852,7 @@ export function FormTextarea(props: FormTextareaProps) {
</div>;
}
export function FormLabel(props: {inline?: boolean; for?: string; title?: string; class?: string; onDark?: boolean; children?: JSXElement}) {
export function FormLabel(props: FormLabelProps) {
return <label
for={props.for}
title={props.title}