@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com's products.
18 lines • 930 B
TypeScript
import type React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals<HTMLFieldSetElement>, Common.SpaceAfter {
readonly label?: Common.Translation;
readonly flex?: string | string[];
readonly help?: React.ReactNode;
readonly children: React.ReactNode;
readonly onBlurGroup?: React.FocusEventHandler<HTMLDivElement>;
readonly error?: React.ReactNode;
readonly disabled?: boolean;
readonly onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
readonly onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
readonly onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
readonly ariaLabel?: string;
readonly ariaLabelledby?: string;
readonly required?: boolean;
}
//# sourceMappingURL=types.d.ts.map