@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.
27 lines (23 loc) • 821 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals {
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<HTMLDivElement>
>;
readonly expandable?: boolean;
readonly expanded?: boolean;
readonly initialExpanded?: boolean;
readonly noHeaderIcon?: boolean;
readonly htmlTitle?: string;
readonly noPadding?: boolean;
}