UNPKG

22 kBTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixRefForwardingComponent, AsProp } from './helpers';
3export interface FormProps extends React.FormHTMLAttributes<HTMLFormElement>, AsProp {
4 validated?: boolean;
5}
6declare const _default: BsPrefixRefForwardingComponent<"form", FormProps> & {
7 Group: BsPrefixRefForwardingComponent<"div", import("./FormGroup").FormGroupProps>;
8 Control: BsPrefixRefForwardingComponent<"input", import("./FormControl").FormControlProps> & {
9 Feedback: BsPrefixRefForwardingComponent<"div", import("./Feedback").FeedbackProps>;
10 };
11 Floating: BsPrefixRefForwardingComponent<"div", unknown>;
12 Check: BsPrefixRefForwardingComponent<"input", import("./FormCheck").FormCheckProps> & {
13 Input: BsPrefixRefForwardingComponent<"input", import("./FormCheckInput").FormCheckInputProps>;
14 Label: React.ForwardRefExoticComponent<import("./FormCheckLabel").FormCheckLabelProps & React.RefAttributes<HTMLLabelElement>>;
15 };
16 Switch: BsPrefixRefForwardingComponent<BsPrefixRefForwardingComponent<"input", import("./FormCheck").FormCheckProps> & {
17 Input: BsPrefixRefForwardingComponent<"input", import("./FormCheckInput").FormCheckInputProps>;
18 Label: React.ForwardRefExoticComponent<import("./FormCheckLabel").FormCheckLabelProps & React.RefAttributes<HTMLLabelElement>>;
19 }, {
20 className?: string | undefined;
21 autoFocus?: boolean | undefined;
22 disabled?: boolean | undefined;
23 form?: string | undefined;
24 formAction?: string | undefined;
25 formEncType?: string | undefined;
26 formMethod?: string | undefined;
27 formNoValidate?: boolean | undefined;
28 formTarget?: string | undefined;
29 name?: string | undefined;
30 value?: string | number | readonly string[] | undefined;
31 defaultChecked?: boolean | undefined;
32 defaultValue?: string | number | readonly string[] | undefined;
33 suppressContentEditableWarning?: boolean | undefined;
34 suppressHydrationWarning?: boolean | undefined;
35 accessKey?: string | undefined;
36 contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
37 contextMenu?: string | undefined;
38 dir?: string | undefined;
39 draggable?: (boolean | "true" | "false") | undefined;
40 hidden?: boolean | undefined;
41 id?: string | undefined;
42 lang?: string | undefined;
43 placeholder?: string | undefined;
44 slot?: string | undefined;
45 spellCheck?: (boolean | "true" | "false") | undefined;
46 style?: React.CSSProperties | undefined;
47 tabIndex?: number | undefined;
48 title?: string | undefined;
49 translate?: "yes" | "no" | undefined;
50 radioGroup?: string | undefined;
51 role?: React.AriaRole | undefined;
52 about?: string | undefined;
53 datatype?: string | undefined;
54 inlist?: any;
55 prefix?: string | undefined;
56 property?: string | undefined;
57 resource?: string | undefined;
58 typeof?: string | undefined;
59 vocab?: string | undefined;
60 autoCapitalize?: string | undefined;
61 autoCorrect?: string | undefined;
62 autoSave?: string | undefined;
63 color?: string | undefined;
64 itemProp?: string | undefined;
65 itemScope?: boolean | undefined;
66 itemType?: string | undefined;
67 itemID?: string | undefined;
68 itemRef?: string | undefined;
69 results?: number | undefined;
70 security?: string | undefined;
71 unselectable?: "on" | "off" | undefined;
72 inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
73 is?: string | undefined;
74 'aria-activedescendant'?: string | undefined;
75 'aria-atomic'?: (boolean | "true" | "false") | undefined;
76 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
77 'aria-busy'?: (boolean | "true" | "false") | undefined;
78 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
79 'aria-colcount'?: number | undefined;
80 'aria-colindex'?: number | undefined;
81 'aria-colspan'?: number | undefined;
82 'aria-controls'?: string | undefined;
83 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
84 'aria-describedby'?: string | undefined;
85 'aria-details'?: string | undefined;
86 'aria-disabled'?: (boolean | "true" | "false") | undefined;
87 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
88 'aria-errormessage'?: string | undefined;
89 'aria-expanded'?: (boolean | "true" | "false") | undefined;
90 'aria-flowto'?: string | undefined;
91 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
92 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
93 'aria-hidden'?: (boolean | "true" | "false") | undefined;
94 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
95 'aria-keyshortcuts'?: string | undefined;
96 'aria-label'?: string | undefined;
97 'aria-labelledby'?: string | undefined;
98 'aria-level'?: number | undefined;
99 'aria-live'?: "off" | "assertive" | "polite" | undefined;
100 'aria-modal'?: (boolean | "true" | "false") | undefined;
101 'aria-multiline'?: (boolean | "true" | "false") | undefined;
102 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
103 'aria-orientation'?: "horizontal" | "vertical" | undefined;
104 'aria-owns'?: string | undefined;
105 'aria-placeholder'?: string | undefined;
106 'aria-posinset'?: number | undefined;
107 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
108 'aria-readonly'?: (boolean | "true" | "false") | undefined;
109 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
110 'aria-required'?: (boolean | "true" | "false") | undefined;
111 'aria-roledescription'?: string | undefined;
112 'aria-rowcount'?: number | undefined;
113 'aria-rowindex'?: number | undefined;
114 'aria-rowspan'?: number | undefined;
115 'aria-selected'?: (boolean | "true" | "false") | undefined;
116 'aria-setsize'?: number | undefined;
117 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
118 'aria-valuemax'?: number | undefined;
119 'aria-valuemin'?: number | undefined;
120 'aria-valuenow'?: number | undefined;
121 'aria-valuetext'?: string | undefined;
122 children?: React.ReactNode;
123 dangerouslySetInnerHTML?: {
124 __html: string;
125 } | undefined;
126 onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
127 onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
128 onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
129 onCutCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
130 onPaste?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
131 onPasteCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
132 onCompositionEnd?: React.CompositionEventHandler<HTMLInputElement> | undefined;
133 onCompositionEndCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
134 onCompositionStart?: React.CompositionEventHandler<HTMLInputElement> | undefined;
135 onCompositionStartCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
136 onCompositionUpdate?: React.CompositionEventHandler<HTMLInputElement> | undefined;
137 onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
138 onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
139 onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
140 onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
141 onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
142 onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
143 onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
144 onBeforeInput?: React.FormEventHandler<HTMLInputElement> | undefined;
145 onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
146 onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
147 onInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
148 onReset?: React.FormEventHandler<HTMLInputElement> | undefined;
149 onResetCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
150 onSubmit?: React.FormEventHandler<HTMLInputElement> | undefined;
151 onSubmitCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
152 onInvalid?: React.FormEventHandler<HTMLInputElement> | undefined;
153 onInvalidCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
154 onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
155 onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
156 onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
157 onErrorCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
158 onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
159 onKeyDownCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
160 onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
161 onKeyPressCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
162 onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
163 onKeyUpCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
164 onAbort?: React.ReactEventHandler<HTMLInputElement> | undefined;
165 onAbortCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
166 onCanPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
167 onCanPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
168 onCanPlayThrough?: React.ReactEventHandler<HTMLInputElement> | undefined;
169 onCanPlayThroughCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
170 onDurationChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
171 onDurationChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
172 onEmptied?: React.ReactEventHandler<HTMLInputElement> | undefined;
173 onEmptiedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
174 onEncrypted?: React.ReactEventHandler<HTMLInputElement> | undefined;
175 onEncryptedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
176 onEnded?: React.ReactEventHandler<HTMLInputElement> | undefined;
177 onEndedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
178 onLoadedData?: React.ReactEventHandler<HTMLInputElement> | undefined;
179 onLoadedDataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
180 onLoadedMetadata?: React.ReactEventHandler<HTMLInputElement> | undefined;
181 onLoadedMetadataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
182 onLoadStart?: React.ReactEventHandler<HTMLInputElement> | undefined;
183 onLoadStartCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
184 onPause?: React.ReactEventHandler<HTMLInputElement> | undefined;
185 onPauseCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
186 onPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
187 onPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
188 onPlaying?: React.ReactEventHandler<HTMLInputElement> | undefined;
189 onPlayingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
190 onProgress?: React.ReactEventHandler<HTMLInputElement> | undefined;
191 onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
192 onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
193 onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
194 onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
195 onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
196 onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
197 onSeekingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
198 onStalled?: React.ReactEventHandler<HTMLInputElement> | undefined;
199 onStalledCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
200 onSuspend?: React.ReactEventHandler<HTMLInputElement> | undefined;
201 onSuspendCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
202 onTimeUpdate?: React.ReactEventHandler<HTMLInputElement> | undefined;
203 onTimeUpdateCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
204 onVolumeChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
205 onVolumeChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
206 onWaiting?: React.ReactEventHandler<HTMLInputElement> | undefined;
207 onWaitingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
208 onAuxClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
209 onAuxClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
210 onClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
211 onClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
212 onContextMenu?: React.MouseEventHandler<HTMLInputElement> | undefined;
213 onContextMenuCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
214 onDoubleClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
215 onDoubleClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
216 onDrag?: React.DragEventHandler<HTMLInputElement> | undefined;
217 onDragCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
218 onDragEnd?: React.DragEventHandler<HTMLInputElement> | undefined;
219 onDragEndCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
220 onDragEnter?: React.DragEventHandler<HTMLInputElement> | undefined;
221 onDragEnterCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
222 onDragExit?: React.DragEventHandler<HTMLInputElement> | undefined;
223 onDragExitCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
224 onDragLeave?: React.DragEventHandler<HTMLInputElement> | undefined;
225 onDragLeaveCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
226 onDragOver?: React.DragEventHandler<HTMLInputElement> | undefined;
227 onDragOverCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
228 onDragStart?: React.DragEventHandler<HTMLInputElement> | undefined;
229 onDragStartCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
230 onDrop?: React.DragEventHandler<HTMLInputElement> | undefined;
231 onDropCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
232 onMouseDown?: React.MouseEventHandler<HTMLInputElement> | undefined;
233 onMouseDownCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
234 onMouseEnter?: React.MouseEventHandler<HTMLInputElement> | undefined;
235 onMouseLeave?: React.MouseEventHandler<HTMLInputElement> | undefined;
236 onMouseMove?: React.MouseEventHandler<HTMLInputElement> | undefined;
237 onMouseMoveCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
238 onMouseOut?: React.MouseEventHandler<HTMLInputElement> | undefined;
239 onMouseOutCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
240 onMouseOver?: React.MouseEventHandler<HTMLInputElement> | undefined;
241 onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
242 onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
243 onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
244 onSelect?: React.ReactEventHandler<HTMLInputElement> | undefined;
245 onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
246 onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
247 onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
248 onTouchEnd?: React.TouchEventHandler<HTMLInputElement> | undefined;
249 onTouchEndCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
250 onTouchMove?: React.TouchEventHandler<HTMLInputElement> | undefined;
251 onTouchMoveCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
252 onTouchStart?: React.TouchEventHandler<HTMLInputElement> | undefined;
253 onTouchStartCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
254 onPointerDown?: React.PointerEventHandler<HTMLInputElement> | undefined;
255 onPointerDownCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
256 onPointerMove?: React.PointerEventHandler<HTMLInputElement> | undefined;
257 onPointerMoveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
258 onPointerUp?: React.PointerEventHandler<HTMLInputElement> | undefined;
259 onPointerUpCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
260 onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
261 onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
262 onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
263 onPointerEnterCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
264 onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
265 onPointerLeaveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
266 onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
267 onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
268 onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
269 onPointerOutCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
270 onGotPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
271 onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
272 onLostPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
273 onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
274 onScroll?: React.UIEventHandler<HTMLInputElement> | undefined;
275 onScrollCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
276 onWheel?: React.WheelEventHandler<HTMLInputElement> | undefined;
277 onWheelCapture?: React.WheelEventHandler<HTMLInputElement> | undefined;
278 onAnimationStart?: React.AnimationEventHandler<HTMLInputElement> | undefined;
279 onAnimationStartCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
280 onAnimationEnd?: React.AnimationEventHandler<HTMLInputElement> | undefined;
281 onAnimationEndCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
282 onAnimationIteration?: React.AnimationEventHandler<HTMLInputElement> | undefined;
283 onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
284 onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
285 onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
286 label?: React.ReactNode;
287 pattern?: string | undefined;
288 list?: string | undefined;
289 inline?: boolean | undefined;
290 step?: string | number | undefined;
291 bsPrefix?: string | undefined;
292 height?: string | number | undefined;
293 width?: string | number | undefined;
294 size?: number | undefined;
295 multiple?: boolean | undefined;
296 as?: React.ElementType<any> | undefined;
297 autoComplete?: string | undefined;
298 alt?: string | undefined;
299 accept?: string | undefined;
300 capture?: boolean | "user" | "environment" | undefined;
301 checked?: boolean | undefined;
302 maxLength?: number | undefined;
303 minLength?: number | undefined;
304 src?: string | undefined;
305 max?: string | number | undefined;
306 min?: string | number | undefined;
307 crossOrigin?: string | undefined;
308 enterKeyHint?: "search" | "next" | "enter" | "done" | "go" | "previous" | "send" | undefined;
309 readOnly?: boolean | undefined;
310 required?: boolean | undefined;
311 feedback?: React.ReactNode;
312 isValid?: boolean | undefined;
313 isInvalid?: boolean | undefined;
314 feedbackTooltip?: boolean | undefined;
315 feedbackType?: import("./Feedback").FeedbackType | undefined;
316 bsSwitchPrefix?: string | undefined;
317 }> & {
318 Input: BsPrefixRefForwardingComponent<"input", import("./FormCheckInput").FormCheckInputProps>;
319 Label: React.ForwardRefExoticComponent<import("./FormCheckLabel").FormCheckLabelProps & React.RefAttributes<HTMLLabelElement>>;
320 };
321 Label: BsPrefixRefForwardingComponent<"label", import("./FormLabel").FormLabelProps>;
322 Text: BsPrefixRefForwardingComponent<"small", import("./FormText").FormTextProps>;
323 Range: React.ForwardRefExoticComponent<import("./FormRange").FormRangeProps & React.RefAttributes<HTMLInputElement>>;
324 Select: BsPrefixRefForwardingComponent<"select", import("./FormSelect").FormSelectProps>;
325 FloatingLabel: BsPrefixRefForwardingComponent<"div", import("./FloatingLabel").FloatingLabelProps>;
326};
327export default _default;