UNPKG

glass-app-manager

Version:

Informatica's Glass Framework CLI for bootstrapping

28 lines (21 loc) 608 B
// @flow import React from "react"; import RoadmapStep from "./RoadmapStep"; import type { Element } from "react"; type Props = { /** * Pass a list of `RoadmapStep` elements as children */ children?: Array<Element<typeof RoadmapStep>>, }; /** * UI container for the roadmap steps that indicate * which step we're on. Roadmap is typically used in Wizards. * @version 0.2.1 */ function Roadmap(props: Props) { return <ol className="roadmap">{props.children}</ol>; } Roadmap.displayName = "Roadmap"; Roadmap.Step = RoadmapStep; export default Roadmap;