"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TypeRadio = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
const Flex_1 = require("../../components/Flex");
const TypeRadio = (props) => (React.createElement(Radio_1.default, { onClick: () => props.onClick?.(), checked: props.checked, value: props.value },
    React.createElement(Flex_1.Flex, { flexDirection: "column" },
        React.createElement(Flex_1.Box, null, props.text),
        React.createElement(Flex_1.Box, { className: "twa:text-2 twa:mt-1" }, props.description))));
exports.TypeRadio = TypeRadio;
