"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Gem = void 0;
const tslib_1 = require("tslib");
const ink_1 = require("ink");
const react_1 = tslib_1.__importStar(require("react"));
exports.Gem = (0, react_1.memo)(({ active }) => {
    const text = (0, react_1.useMemo)(() => active ? `◉` : `◯`, [active]);
    const color = (0, react_1.useMemo)(() => active ? `green` : `yellow`, [active]);
    return react_1.default.createElement(ink_1.Text, { color: color }, text);
});
