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.

15 lines (14 loc) 494 B
import type * as React from "react"; import type { Size, IconForeground, IconProps } from "../types"; import type { Theme } from "../../../defaultTheme"; type getIconContainerType = ({ iconLeft, children, theme, size, iconForeground, }: { iconLeft?: React.ReactNode; children?: React.ReactNode; theme: Theme; size?: Size; iconForeground: IconForeground; }) => { icons: IconProps; }; declare const getIconContainer: getIconContainerType; export default getIconContainer;