Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/cjs/InputGroup.d.ts
Henry Whitaker 2219b0213c npm install
2021-03-07 09:24:01 +00:00

31 lines
1.2 KiB
TypeScript

/// <reference types="react" />
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
declare const InputGroupAppend: BsPrefixRefForwardingComponent<"div", unknown>;
declare const InputGroupPrepend: BsPrefixRefForwardingComponent<"div", unknown>;
declare const InputGroupText: BsPrefixRefForwardingComponent<"span", unknown>;
declare const InputGroupCheckbox: (props: any) => JSX.Element;
declare const InputGroupRadio: (props: any) => JSX.Element;
export interface InputGroupProps extends BsPrefixPropsWithChildren {
size?: 'sm' | 'lg';
hasValidation?: boolean;
}
declare type InputGroupExtras = {
Append: typeof InputGroupAppend;
Prepend: typeof InputGroupPrepend;
Text: typeof InputGroupText;
Checkbox: typeof InputGroupCheckbox;
Radio: typeof InputGroupRadio;
};
declare type InputGroup = BsPrefixRefForwardingComponent<'div', InputGroupProps>;
/**
*
* @property {InputGroupAppend} Append
* @property {InputGroupPrepend} Prepend
* @property {InputGroupText} Text
* @property {InputGroupRadio} Radio
* @property {InputGroupCheckbox} Checkbox
*/
declare const InputGroup: InputGroup;
declare const InputGroupWithExtras: InputGroup & InputGroupExtras;
export default InputGroupWithExtras;