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
+22
View File
@@ -0,0 +1,22 @@
import * as React from 'react';
import { FeedbackType } from './Feedback';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
export type FormCheckType = 'checkbox' | 'radio' | 'switch';
export interface FormCheckProps extends BsPrefixProps, React.InputHTMLAttributes<HTMLInputElement> {
inline?: boolean;
reverse?: boolean;
disabled?: boolean;
label?: React.ReactNode;
type?: FormCheckType;
isValid?: boolean;
isInvalid?: boolean;
feedbackTooltip?: boolean;
feedback?: React.ReactNode;
feedbackType?: FeedbackType;
bsSwitchPrefix?: string;
}
declare const _default: BsPrefixRefForwardingComponent<"input", FormCheckProps> & {
Input: BsPrefixRefForwardingComponent<"input", import("./FormCheckInput").FormCheckInputProps>;
Label: React.ForwardRefExoticComponent<import("./FormCheckLabel").FormCheckLabelProps & React.RefAttributes<HTMLLabelElement>>;
};
export default _default;