feat: refactor components to use named exports for better consistency

This commit is contained in:
fredy.siswanto
2025-02-23 20:41:19 +07:00
parent 4fa3873dda
commit 7b42f6bfe5
6 changed files with 8 additions and 12 deletions
+1 -3
View File
@@ -40,7 +40,7 @@ const dataSocialMedia = [
},
]
const IconsSocial: FC<SocialMediaProperties> = ({ className }) => {
export const IconsSocial: FC<SocialMediaProperties> = ({ className }) => {
return (
<div className={twMerge('flex gap-2', className)}>
{dataSocialMedia.map(({ url, icon: Icon }, index) => (
@@ -56,5 +56,3 @@ const IconsSocial: FC<SocialMediaProperties> = ({ className }) => {
</div>
)
}
export default IconsSocial