@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.
19 lines (15 loc) • 391 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/ratingstars/
*/
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
import type { Size } from "../Icon";
export type Props = {|
+rating: number,
+size?: Size,
+color?: "primary" | "secondary",
+showEmpty?: boolean,
...Globals,
|};
declare export default React.ComponentType<Props>;