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.

20 lines (14 loc) 513 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../common/common"; type Size = "small" | "medium" | "large"; type Color = "primary" | "secondary"; interface Props extends Common.Global { readonly rating: number; readonly size?: Size; readonly color?: Color; readonly showEmpty?: boolean; } declare const RatingStars: React.FunctionComponent<Props>; export { RatingStars, RatingStars as default };