1 | import * as React from 'react';
|
2 | import { FeedbackType } from './Feedback';
|
3 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
4 | export type FormCheckType = 'checkbox' | 'radio' | 'switch';
|
5 | export interface FormCheckProps extends BsPrefixProps, React.InputHTMLAttributes<HTMLInputElement> {
|
6 | inline?: boolean;
|
7 | reverse?: boolean;
|
8 | disabled?: boolean;
|
9 | label?: React.ReactNode;
|
10 | type?: FormCheckType;
|
11 | isValid?: boolean;
|
12 | isInvalid?: boolean;
|
13 | feedbackTooltip?: boolean;
|
14 | feedback?: React.ReactNode;
|
15 | feedbackType?: FeedbackType;
|
16 | bsSwitchPrefix?: string;
|
17 | }
|
18 | declare const _default: BsPrefixRefForwardingComponent<"input", FormCheckProps> & {
|
19 | Input: BsPrefixRefForwardingComponent<"input", import("./FormCheckInput").FormCheckInputProps>;
|
20 | Label: React.ForwardRefExoticComponent<import("./FormCheckLabel").FormCheckLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
21 | };
|
22 | export default _default;
|