You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
963 B
23 lines
963 B
import * as React from 'react';
|
|
import { FeedbackType } from './Feedback';
|
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
export declare 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;
|