// @flow import type { spaceAfter } from "../common/getSpacingToken/index"; import type { Globals } from "../common/common.js.flow"; type Align = "left" | "center" | "right"; type Element = "p" | "span" | "div"; type Type = | "primary" | "secondary" | "attention" | "info" | "success" | "warning" | "critical" | "white"; type Size = "large" | "normal" | "small"; type Weight = "regular" | "bold"; export type Props = {| +type?: Type, +size?: Size, +weight?: Weight, +align?: Align, +italic?: boolean, +uppercase?: boolean, +element?: Element, +children: React$Node, ...Globals, ...spaceAfter, |}; declare export default React$ComponentType;