@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.
26 lines (21 loc) • 753 B
text/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";
type Position = "left" | "right";
export interface Props extends Common.Globals {
readonly actions?: React.ReactNode;
readonly children: React.ReactNode;
readonly lockScrolling?: boolean;
readonly noPadding?: boolean;
readonly onClose?: Common.Callback;
readonly fixedHeader?: boolean;
readonly position?: Position;
readonly shown?: boolean;
readonly labelHide?: string;
readonly suppressed?: boolean;
readonly title?: string;
readonly width?: string;
readonly ariaLabel?: string;
readonly triggerRef?: React.RefObject<HTMLElement | null>;
}