@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.
14 lines (13 loc) • 448 B
TypeScript
import * as React from "react";
interface Context {
addSection: (arg: number) => void;
isOpened: boolean;
removeSection: (arg: number) => void;
roundedBorders: Record<"top" | "bottom", boolean>;
index: number;
noBorderTop: boolean;
}
export declare const cardDefault: Context;
export declare const useCard: () => Context;
export declare const Consumer: React.Consumer<Context>, Provider: React.Provider<Context>;
export {};