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.

22 lines (16 loc) 566 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../common/common"; interface Action { readonly name: string; readonly href?: string; // eslint-disable-next-line @typescript-eslint/ban-types readonly onClick?: {} | Common.Event<React.SyntheticEvent<HTMLButtonElement>>; } interface Props { readonly links: Action[]; readonly buttonLabel?: string; } declare const SkipLink: React.FunctionComponent<Props>; export { SkipLink, SkipLink as default };