UNPKG

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