UNPKG

@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.

37 lines (30 loc) 944 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../common/common"; type Image = { readonly original: string; readonly placeholder?: string; readonly name: string; readonly code: string; }; type ImageCustom = { readonly name: string; readonly src: string; }; interface Props extends Common.Global { readonly actions?: React.ReactNode; readonly children?: React.ReactNode; readonly label?: React.ReactNode; readonly title?: React.ReactNode; readonly subTitle?: React.ReactNode; readonly image: Image | ImageCustom; readonly height?: string; readonly width?: string; readonly href?: string; readonly external?: boolean; readonly tabIndex?: string | number; readonly onClick?: Common.Callback; } declare const PictureCard: React.FunctionComponent<Props>; export { PictureCard, PictureCard as default };