@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 (18 loc) • 501 B
TypeScript
// @flow
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
declare module "@kiwicom/orbit-components/lib/Sticky";
interface Props {
readonly offset?: number;
readonly children: React.ReactNode;
}
interface State {
sticky: boolean;
height: number;
width: number;
initialTop: number;
initialWidth: boolean;
}
declare class Sticky extends React.Component<Props, State> {}
export { Sticky, Sticky as default };