mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+19
View File
@@ -0,0 +1,19 @@
import * as React from 'react';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
type FormControlElement = HTMLInputElement | HTMLTextAreaElement;
export interface FormControlProps extends BsPrefixProps, Omit<React.InputHTMLAttributes<FormControlElement>, 'size'> {
htmlSize?: number;
size?: 'sm' | 'lg';
plaintext?: boolean;
readOnly?: boolean;
disabled?: boolean;
value?: string | string[] | number;
onChange?: React.ChangeEventHandler<FormControlElement>;
type?: string;
isValid?: boolean;
isInvalid?: boolean;
}
declare const _default: BsPrefixRefForwardingComponent<"input", FormControlProps> & {
Feedback: BsPrefixRefForwardingComponent<"div", import("./Feedback").FeedbackProps>;
};
export default _default;