79749977

Date: 2025-08-29 08:09:44
Score: 1
Natty:
Report link

I think from "react-i18next" <Trans> will not allow className instaead of it use <div> or <span> or any pther elements

example :

export function CustomTrans({ className, ...restProps }: CustomTransProps) {
  return (
    <span className={className}>
      <Trans {...restProps} />
    </span>
  );
}
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: prasanna kumar