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