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.

14 lines (13 loc) 548 B
import type { FlattenInterpolation, ThemeProps } from "styled-components"; import type { Devices } from "../../utils/mediaQuery/types"; import type { Props as StackProps } from "../types"; import type defaultTheme from "../../defaultTheme"; interface Props extends StackProps { theme: typeof defaultTheme; } declare const getChildrenMargin: ({ viewport, index, devices }: { viewport: Devices; index: number; devices: Devices[]; }) => (props: Props) => FlattenInterpolation<ThemeProps<any>> | null; export default getChildrenMargin;