diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-03-29 22:30:11 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-03-29 22:30:11 +0200 |
| commit | 77a14b1023eb5774d43becf2967b7ffdb4a51048 (patch) | |
| tree | 52f22f88ae41e8d7477d1f9719f0a0c983a574a1 /apps/web/src/components/icons/brand.tsx | |
| parent | 1c3b22edecdccfbac1a940463446ca3c02413683 (diff) | |
| download | opencut-77a14b1023eb5774d43becf2967b7ffdb4a51048.tar.gz | |
refactor: standardize icon component props
Diffstat (limited to 'apps/web/src/components/icons/brand.tsx')
| -rw-r--r-- | apps/web/src/components/icons/brand.tsx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/apps/web/src/components/icons/brand.tsx b/apps/web/src/components/icons/brand.tsx index 26aabf86..91be84bf 100644 --- a/apps/web/src/components/icons/brand.tsx +++ b/apps/web/src/components/icons/brand.tsx @@ -1,4 +1,6 @@ -export function OcVercelIcon({ className }: { className?: string }) { +import type { IconProps } from "./types"; + +export function OcVercelIcon({ className }: IconProps) { return ( <svg className={className} @@ -17,10 +19,7 @@ export function OcVercelIcon({ className }: { className?: string }) { export function OcMarbleIcon({ className = "", size = 32, -}: { - className?: string; - size?: number; -}) { +}: IconProps) { return ( <svg xmlns="http://www.w3.org/2000/svg" @@ -43,10 +42,7 @@ export function OcMarbleIcon({ export function OcDataBuddyIcon({ className = "", size = 32, -}: { - className?: string; - size?: number; -}) { +}: IconProps) { return ( <svg xmlns="http://www.w3.org/2000/svg" |
