'use client' import type { FC } from 'react' import React from 'react' import cn from 'classnames' import s from './style.module.css' type Props = { className?: string title: string description: string isChosen: boolean onChosen: () => void chosenConfig?: React.ReactNode icon?: JSX.Element } const RadioCard: FC = ({ title, description, isChosen, onChosen, icon, }) => { return (
{icon}
{title}
{description}
) } export default React.memo(RadioCard)