@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.
13 lines (12 loc) • 492 B
TypeScript
import type { FlattenInterpolation, ThemeProps } from "styled-components";
import type { Props } from "../types";
import type defaultTheme from "../../defaultTheme";
import type { Devices } from "../../utils/mediaQuery/types";
interface PropsWithTheme extends Props {
theme: typeof defaultTheme;
}
declare const getGap: ({ index, devices }: {
index: number;
devices: Devices[];
}) => (props: PropsWithTheme) => FlattenInterpolation<ThemeProps<any>> | null;
export default getGap;