AutoTable types + footer element
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user