@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.
17 lines • 648 B
TypeScript
import type * as React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals<HTMLInputElement> {
readonly label?: React.ReactNode;
readonly value?: string;
readonly hasError?: boolean;
readonly disabled?: boolean;
readonly checked?: boolean;
readonly defaultChecked?: boolean;
readonly name?: string;
readonly info?: React.ReactNode;
readonly tabIndex?: string | number;
readonly ariaControls?: string;
readonly ariaDescribedby?: string;
readonly onChange?: (ev: React.ChangeEvent<HTMLInputElement>) => void;
}
//# sourceMappingURL=types.d.ts.map