@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.
15 lines • 712 B
TypeScript
import type * as React from "react";
import type * as Common from "../../common/types";
import type { SharedProps } from "../types";
type InputEvent = Common.Event<React.KeyboardEvent<HTMLInputElement>>;
export interface Props extends SharedProps, Common.Globals {
readonly value?: number | string;
readonly disabledIncrement?: boolean;
readonly disabledDecrement?: boolean;
readonly onKeyDown?: InputEvent;
readonly onDecrement?: Common.Event<React.SyntheticEvent<HTMLButtonElement | HTMLAnchorElement>>;
readonly onIncrement?: Common.Event<React.SyntheticEvent<HTMLButtonElement | HTMLAnchorElement>>;
readonly onChange?: InputEvent;
}
export {};
//# sourceMappingURL=types.d.ts.map