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.

11 lines (10 loc) 581 B
import type { FlattenSimpleInterpolation, Keyframes } from "styled-components"; import type { ThemeProps } from "../defaultTheme"; import type { Placement } from "./types"; export declare const lightAnimation: ({ theme }: ThemeProps) => Keyframes; export declare const fadeIn: Keyframes; export declare const fadeOut: Keyframes; export declare const getPositionStyle: (placement: Placement) => FlattenSimpleInterpolation; type createReactRef = (onRect: (rect: ClientRect) => void) => (el: HTMLElement | null) => void; export declare const createRectRef: createReactRef; export {};