@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.
20 lines (16 loc) • 630 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 type Type = "info" | "success" | "warning" | "critical";
export interface Props extends Common.Globals, Common.SpaceAfter {
readonly type?: Type;
readonly children?: React.ReactNode;
readonly title?: Common.Translation;
readonly icon?: React.ReactNode;
readonly closable?: boolean;
readonly inlineActions?: React.ReactNode;
readonly labelClose?: string;
readonly onClose?: Common.Callback;
readonly suppressed?: boolean;
}