diff --git a/client/src/components/svg/EditIcon.tsx b/client/src/components/svg/EditIcon.tsx index 7adfef0784..21a6b3c31f 100644 --- a/client/src/components/svg/EditIcon.tsx +++ b/client/src/components/svg/EditIcon.tsx @@ -1,37 +1,34 @@ import React from 'react'; import { cn } from '~/utils'; -const EditIcon = React.forwardRef( - ( - props: { - className?: string; - size?: string; - }, - ref, - ) => { - const { className = 'icon-md', size = '1.2em' } = props; - return ( - - - - ); - }, -); +type IconProps = { + className?: string; + size?: string; +}; + +const EditIcon = React.forwardRef((props: IconProps, ref) => { + const { className = 'icon-md', size = '1.2em' } = props; + return ( + + + + ); +}); export default EditIcon;