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.

24 lines (16 loc) 502 B
// @flow import * as React from "react"; import type { Globals } from "../common/common.js.flow"; export type OnPageChange = {| +onPageChange: number => void |}; export type PageCount = {| +pageCount: number |}; export type SelectedPage = {| +selectedPage?: number |}; export type Sizes = "small" | "normal"; export type Props = {| ...Globals, ...OnPageChange, ...PageCount, ...SelectedPage, hideLabels?: boolean, size?: Sizes, |}; declare export default React.ComponentType<Props>;