@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.
16 lines • 689 B
TypeScript
import type * as React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals {
readonly onMenuOpen?: Common.Event<React.SyntheticEvent<HTMLAnchorElement | HTMLButtonElement>>;
readonly onShow?: Common.Callback;
readonly onHide?: Common.Callback;
readonly children: React.ReactNode;
readonly openTitle?: string;
readonly hideOnScroll?: boolean;
readonly bottomStyle?: "shadow" | "border";
readonly transparentBgAtTop?: boolean;
readonly menuButtonRef?: React.RefObject<HTMLButtonElement | null>;
readonly menuId?: string;
readonly menuExpanded?: boolean;
}
//# sourceMappingURL=types.d.ts.map