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.

18 lines (17 loc) 741 B
import * as React from "react"; import type * as Common from "../../../common/types"; interface Props extends Common.Globals { href?: string; external?: boolean; onClick?: Common.Event<React.SyntheticEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>>; onKeyDown?: Common.Event<React.KeyboardEvent<HTMLDivElement>>; as?: string; tabIndex?: string | number; role?: string; ariaExpanded?: boolean; ariaControls?: string; htmlTitle?: string; id?: string; } declare const TileWrapper: ({ href, external, dataTest, onClick, onKeyDown, children, as, tabIndex, role, ariaExpanded, ariaControls, id, htmlTitle, }: React.PropsWithChildren<Props>) => React.JSX.Element; export default TileWrapper;