UNPKG

shipthis

Version:

ShipThis manages building and uploading your Godot games to the App Store and Google Play.

17 lines (13 loc) 733 B
import { jsxs, jsx } from 'react/jsx-runtime'; import { Box, Text } from 'ink'; import { T as Title } from './Title-BCQtayg6.js'; const ListWithTitle = ({ listItems, title }) => { if (listItems.length === 0) return null; const header = title.toUpperCase(); return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginTop: 1, children: [ /* @__PURE__ */ jsx(Title, { children: header }), /* @__PURE__ */ jsx(Box, { flexDirection: "column", marginLeft: 2, children: listItems.map((listItem, index) => /* @__PURE__ */ jsx(Text, { children: listItem }, index)) }) ] }); }; const NextSteps = ({ steps }) => /* @__PURE__ */ jsx(ListWithTitle, { listItems: steps, title: "Next Steps" }); export { NextSteps as N };