@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) • 588 B
TypeScript
// 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 link?: string;
// eslint-disable-next-line @typescript-eslint/ban-types
readonly onClick?: {} | Common.Event<React.SyntheticEvent<HTMLButtonElement>>;
}
interface Props {
readonly actions?: Action[];
readonly feedbackUrl?: string;
}
declare const SkipNavigation: React.FunctionComponent<Props>;
export { SkipNavigation, SkipNavigation as default };