@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.
22 lines (17 loc) • 503 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
interface Props extends Common.Global {
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 };