mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 22:39:26 +01:00
29 lines
715 B
TypeScript
29 lines
715 B
TypeScript
import * as React from 'react';
|
|
import FormCheckInput from './FormCheckInput';
|
|
import FormCheckLabel from './FormCheckLabel';
|
|
import { BsPrefixRefForwardingComponent } from './helpers';
|
|
|
|
export interface FormCheckProps {
|
|
bsCustomPrefix?: string;
|
|
id?: string;
|
|
inline?: boolean;
|
|
disabled?: boolean;
|
|
title?: string;
|
|
label?: React.ReactNode;
|
|
custom?: boolean;
|
|
type?: 'checkbox' | 'radio' | 'switch';
|
|
isValid?: boolean;
|
|
isInvalid?: boolean;
|
|
feedback?: React.ReactNode;
|
|
}
|
|
|
|
declare interface FormCheck
|
|
extends BsPrefixRefForwardingComponent<'input', FormCheckProps> {
|
|
Input: typeof FormCheckInput;
|
|
Label: typeof FormCheckLabel;
|
|
}
|
|
|
|
declare const FormCheck: FormCheck;
|
|
|
|
export default FormCheck;
|