Update package layout

This commit is contained in:
2026-03-16 23:36:38 -04:00
parent b345982ab1
commit 8fe121951b
24 changed files with 383 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
import type React from "react";
import type { ChangeEventHandler, ComponentProps } from "react";
import type { ComponentProps, KeyboardEventHandler } from "react";
export interface TextInputProps {
@@ -11,8 +11,9 @@ export interface TextInputProps {
maxLength?: number;
spellCheck?: boolean;
placeholder?: string;
value?: string;
onChange?: ChangeEventHandler<HTMLInputElement>;
value: string;
onChange?: (newValue: string) => void;
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
disabled?: boolean;
}
@@ -25,11 +26,12 @@ export interface TextAreaProps {
maxLength?: number;
spellCheck?: boolean;
placeholder?: string;
value?: string;
disabled?: boolean;
value: string;
rows?: number;
cols?: number;
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
onChange?: (newValue: string) => void;
onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;
disabled?: boolean;
}
export interface SelectInputProps {