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) 630 B
import * as React from "react"; interface Context { isNextHidden: boolean; isPrevHidden: boolean; noElevation: boolean; isHidden: boolean; isBanner: boolean; index: number; opened: boolean; toggleOpened: () => void; last: boolean; count: number; } export declare const ItinerarySegmentContext: React.Context<Context>; export declare const usePart: () => Context; export declare const ItinerarySegmentProvider: ({ isNextHidden, isPrevHidden, noElevation, isHidden, isBanner, children, index, opened, toggleOpened, last, count, }: React.PropsWithChildren<Context>) => JSX.Element; export {};