UNPKG

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