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.

29 lines 978 B
import * as React from "react"; import type { Type } from "./TimelineStep/types"; type Statuses = Record<string, Type>; interface Context { types: Statuses; isColumnOnDesktop: boolean; setTypes: React.Dispatch<React.SetStateAction<Statuses>>; } interface StepContext { index: number; last: boolean; hasSubLabelMargin?: boolean; } export declare const TimelineStatusContext: React.Context<Context>; export declare const TimelineStepContext: React.Context<StepContext>; export declare const TimelineStatusProvider: ({ children, direction }: { children: any; direction: any; }) => React.JSX.Element; export declare const TimelineStepProvider: ({ children, index, last, hasSubLabelMargin }: { children: any; index: any; last: any; hasSubLabelMargin: any; }) => React.JSX.Element; export declare const useStep: () => StepContext; export declare const useStatuses: () => Context; export {}; //# sourceMappingURL=TimelineContext.d.ts.map