refactor: replace interface with type for component properties and improve code readability

This commit is contained in:
Ardeman
2025-02-24 08:23:22 +08:00
parent 9e6d2fe6c0
commit 6082cf0cdb
5 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { LinkIcon } from '~/components/icons/link-icon'
import { LinkedinIcon } from '~/components/icons/linkedin'
import { XIcon } from '~/components/icons/x'
interface SocialMediaProperties {
type SocialMediaProperties = {
className?: string
}