import React from 'react'; import ButtonIcon from './ButtonIcon'; import SvgIcon from './SvgIcon'; interface Props { className: string; onClick?: React.ComponentProps<'button'>['onClick']; pin?: boolean; } const PinToggler = ({ className, onClick, pin }: Props) => { const { t } = useTranslation(); const icon = pin ? 'mdi-pin-off' : 'mdi-pin'; return ( ); }; export default PinToggler;