@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.
23 lines (18 loc) • 693 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
export interface Props extends Common.Global {
readonly title: Common.Translation;
readonly description?: Common.Translation;
readonly selectable?: boolean;
readonly selected?: boolean;
readonly disabled?: boolean;
readonly icon?: React.ReactNode;
readonly action?: React.ReactNode;
readonly onClick?: Common.Event<
React.SyntheticEvent<HTMLDivElement> | React.KeyboardEvent<HTMLElement>
>;
}
declare const ListChoice: React.FunctionComponent<Props>;
export { ListChoice, ListChoice as default };