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.

17 lines (13 loc) 407 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/themeprovider/ */ import * as React from "react"; import type { Translations } from "../Dictionary"; import type { Theme } from "../defaultTheme"; export type Props = {| +theme: {| ...Theme |}, // allow other sub objects with spread +dictionary?: Translations, +children: React.Node, |}; declare export default React.ComponentType<Props>;