@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.
23 lines • 716 B
TypeScript
import type * as React from "react";
import type * as Common from "../common/types";
interface Action {
readonly name?: string;
readonly link?: string;
readonly onClick?: (ev?: React.SyntheticEvent<HTMLButtonElement>) => void;
}
export interface Props extends Common.Globals {
readonly actions?: Action[];
readonly feedbackUrl?: string;
readonly firstSectionLabel?: string;
readonly firstActionLabel?: string;
readonly feedbackLabel?: string;
readonly isInNav?: boolean;
}
export interface MappedOptions {
readonly key?: string;
readonly value: string | number;
readonly label?: string;
readonly disabled?: boolean;
}
export {};
//# sourceMappingURL=types.d.ts.map