"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
/**
 * penguins-eggs
 * components: title.tsx
 * author: Piero Proietti
 * email: piero.proietti@gmail.com
 * license: MIT
 */
const react_1 = tslib_1.__importDefault(require("react"));
const ink_1 = require("ink");
// import package.json
const pjson = require('../../../package.json');
function Title({ title = "krill" }) {
    return (
    // font="slick"
    react_1.default.createElement(react_1.default.Fragment, null,
        react_1.default.createElement(ink_1.Box, { flexDirection: "column" },
            react_1.default.createElement(ink_1.Box, null),
            react_1.default.createElement(ink_1.Box, null,
                react_1.default.createElement(ink_1.Text, null, "E G G S: the reproductive system of penguins")),
            react_1.default.createElement(ink_1.Box, null,
                react_1.default.createElement(ink_1.Newline, null))),
        react_1.default.createElement(ink_1.Box, { flexDirection: "row" },
            react_1.default.createElement(ink_1.Text, { backgroundColor: "green" },
                "     ",
                pjson.name,
                "      "),
            react_1.default.createElement(ink_1.Text, { backgroundColor: "white", color: "blue" }, " Perri's brewery edition "),
            react_1.default.createElement(ink_1.Text, { backgroundColor: "red" },
                "       ver. ",
                pjson.version,
                "       "))));
}
exports.default = Title;
