@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.
29 lines (24 loc) • 857 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";
interface Props extends Common.Global {
readonly as?: string;
readonly title?: React.ReactNode;
readonly description?: React.ReactNode;
readonly icon?: React.ReactNode;
readonly header?: React.ReactNode;
readonly children?: React.ReactNode;
readonly external?: boolean;
readonly href?: string;
readonly onClick?: Common.Event<
React.SyntheticEvent<HTMLDivElement> | React.KeyboardEvent<HTMLElement>
>;
readonly expandable?: boolean;
readonly initialExpanded?: boolean;
readonly noHeaderIcon?: boolean;
readonly htmlTitle?: string;
readonly noPadding?: boolean;
}
declare const Tile: React.FunctionComponent<Props>;
export { Tile, Tile as default };