|
1 | | -import type { PropsOf } from "@builder.io/qwik"; |
| 1 | +import { component$, type PropsOf } from "@qwik.dev/core"; |
2 | 2 |
|
3 | | -export const CAS = (props: PropsOf<"svg">, key: string) => { |
| 3 | +export const CAS = component$<PropsOf<"svg">>((props) => { |
4 | 4 | return ( |
5 | 5 | <svg |
6 | 6 | {...props} |
7 | | - key={key} |
8 | 7 | preserveAspectRatio="xMidYMid meet" |
9 | 8 | data-bbox="0 0 48 48" |
10 | 9 | xmlns="http://www.w3.org/2000/svg" |
@@ -49,13 +48,12 @@ export const CAS = (props: PropsOf<"svg">, key: string) => { |
49 | 48 | </g> |
50 | 49 | </svg> |
51 | 50 | ); |
52 | | -}; |
| 51 | +}); |
53 | 52 |
|
54 | | -export const Security = (props: PropsOf<"svg">, key: string) => { |
| 53 | +export const Security = component$<PropsOf<"svg">>((props) => { |
55 | 54 | return ( |
56 | 55 | <svg |
57 | 56 | {...props} |
58 | | - key={key} |
59 | 57 | preserveAspectRatio="xMidYMid meet" |
60 | 58 | data-bbox="0 0 48 48" |
61 | 59 | xmlns="http://www.w3.org/2000/svg" |
@@ -100,13 +98,12 @@ export const Security = (props: PropsOf<"svg">, key: string) => { |
100 | 98 | </g> |
101 | 99 | </svg> |
102 | 100 | ); |
103 | | -}; |
| 101 | +}); |
104 | 102 |
|
105 | | -export const RBE = (props: PropsOf<"svg">, key: string) => { |
| 103 | +export const RBE = component$<PropsOf<"svg">>((props) => { |
106 | 104 | return ( |
107 | 105 | <svg |
108 | 106 | {...props} |
109 | | - key={key} |
110 | 107 | preserveAspectRatio="xMidYMid meet" |
111 | 108 | data-bbox="0 0 48 48" |
112 | 109 | xmlns="http://www.w3.org/2000/svg" |
@@ -151,13 +148,12 @@ export const RBE = (props: PropsOf<"svg">, key: string) => { |
151 | 148 | </g> |
152 | 149 | </svg> |
153 | 150 | ); |
154 | | -}; |
| 151 | +}); |
155 | 152 |
|
156 | | -export const FreeCloud = (props: PropsOf<"svg">, key: string) => { |
| 153 | +export const FreeCloud = component$<PropsOf<"svg">>((props) => { |
157 | 154 | return ( |
158 | 155 | <svg |
159 | 156 | {...props} |
160 | | - key={key} |
161 | 157 | preserveAspectRatio="xMidYMid meet" |
162 | 158 | data-bbox="0 0 48 48" |
163 | 159 | xmlns="http://www.w3.org/2000/svg" |
@@ -202,4 +198,4 @@ export const FreeCloud = (props: PropsOf<"svg">, key: string) => { |
202 | 198 | </g> |
203 | 199 | </svg> |
204 | 200 | ); |
205 | | -}; |
| 201 | +}); |
0 commit comments