import { type JSX, memo, type ReactNode } from 'react'; import CountBadge from '../Common/CountBadge'; import styles from './PageAccessoriesControl.module.scss'; const moduleClass = styles['btn-page-accessories']; type Props = { className?: string; icon: ReactNode; label: ReactNode; count?: number; offset?: number; onClick?: () => void; }; export const PageAccessoriesControl = memo((props: Props): JSX.Element => { const { icon, label, count, offset, className, onClick } = props; return ( ); });