@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 (11 loc) • 473 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as React from "react";
import type { Option, Props as Properties } from "../types";
export interface Props extends Option {
readonly onChange: Properties["onChange"];
readonly onFocus?: Properties["onFocus"];
readonly setTooltipShown: (shown: boolean) => void;
}
declare const SwitchSegment: React.FunctionComponent<Props>;
export default SwitchSegment;