"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pad = void 0;
const tslib_1 = require("tslib");
const ink_1 = require("ink");
const react_1 = tslib_1.__importDefault(require("react"));
const Pad = ({ length, active }) => {
    if (length === 0)
        return null;
    const text = length > 1
        ? ` ${`-`.repeat(length - 1)}`
        : ` `;
    return react_1.default.createElement(ink_1.Text, { dimColor: !active }, text);
};
exports.Pad = Pad;
