UNPKG

@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.

24 lines (18 loc) 763 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../../common/common"; import { SharedProps, Event } from ".."; type InputEvent = Common.Event<React.KeyboardEvent<HTMLInputElement>>; export interface Props extends SharedProps { readonly value?: number | string | (() => string); readonly disabledIncrement?: boolean; readonly disabledDecrement?: boolean; readonly onKeyDown?: InputEvent; readonly size?: "small" | "normal"; readonly onDecrement?: Event; readonly onIncrement?: Event; readonly onChange?: InputEvent; } declare const StepperStateless: React.FunctionComponent<Props>; export { StepperStateless, StepperStateless as default };