Skip to content

Commit cd34268

Browse files
committed
update doc
1 parent f45e1a1 commit cd34268

4 files changed

Lines changed: 32 additions & 16 deletions

File tree

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,25 @@ For a transparent usage:
2323

2424
## Direct import sample
2525

26-
`import { Gi3DGlasses } from "https://deno.land/x/react_icons_gi@1.0.1/mod.ts"`
26+
```ts
27+
import { Gi3DGlasses } from "https://deno.land/x/react_icons_gi@1.0.1/mod.ts"
28+
```
2729

2830
## import_map import sample
2931

30-
`import { Gi3DGlasses } from "react-icons/gi"`
32+
```ts
33+
import { Gi3DGlasses } from "react-icons/gi"
34+
```
3135

3236
## minimal import
3337

34-
`import { Gi3DGlasses } from "react-icons/gi/Gi3DGlasses.ts"`
38+
```ts
39+
import { Gi3DGlasses } from "react-icons/gi/Gi3DGlasses.ts"
40+
```
3541

36-
## minimal import default
42+
## minimal import using default export
3743

38-
`import Gi3DGlasses from "react-icons/gi/Gi3DGlasses.ts"`
44+
```ts
45+
import Gi3DGlasses from "react-icons/gi/Gi3DGlasses.ts"
46+
```
3947

ico/GiHeadShot.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GenIcon, type IconBaseProps } from "https://deno.land/x/react_icons@1.0.0/mod.ts";
22

3-
export function GiHeadShot(props: IconBaseProps) {
4-
return GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 16c-30.6 0-59.243 9.113-82.97 24.844l44.064 44.062c24.486-11.704 53.326-11.704 77.812 0l44.063-44.062C315.242 25.114 286.597 16 256 16zM130.844 83.03C115.114 106.758 106 135.402 106 166c0 30.6 9.113 59.245 24.844 82.97l44.062-44.064c-11.704-24.484-11.704-53.326 0-77.812L130.844 83.03zm250.312 0l-44.062 44.064c11.704 24.486 11.704 53.328 0 77.812l44.062 44.063C396.886 225.242 406 196.598 406 166c0-30.6-9.113-59.245-24.844-82.97zm-123.844 38a45 45 0 0 0-46.312 45 45 45 0 0 0 90 0 45 45 0 0 0-43.688-45zm-40.218 126.064l-44.063 44.062C196.758 306.886 225.402 316 256 316c30.6 0 59.243-9.113 82.97-24.844l-44.064-44.062c-24.486 11.704-53.326 11.704-77.812 0zM256 316H46c-15 0-30 15-30 30v60c0 30 45 30 60 90h360c15-60 60-60 60-90v-60c0-15-15-30-30-30H256z"}}]})(props);
3+
export function GiHeadshot(props: IconBaseProps) {
4+
return GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M324.55 177A69 69 0 0 1 264 238v-29a40.7 40.7 0 0 1-16 .05v29a69.25 69.25 0 0 1-60.84-61h29a40.59 40.59 0 0 1 .1-16h-29.1A69.67 69.67 0 0 1 248 100.58v29a40.7 40.7 0 0 1 16 .05v-29c32 3.68 56.87 29.42 60.55 60.42h-29.07a40.59 40.59 0 0 1 .1 16h29zm120.31 79c0 131.42-84.72 238.33-188.86 238.33-104.14 0-188.86-106.91-188.86-238.33 0-131.42 84.72-238.33 188.86-238.33 104.14 0 188.86 106.91 188.86 238.33zm-228.7 39.53c0-10.7-17.85-19.38-39.87-19.38-22.02 0-39.87 8.68-39.87 19.38s17.85 19.38 39.87 19.38c22.02 0 39.87-8.67 39.87-19.38zM264 254.06A85.59 85.59 0 0 0 340.64 177H364v-16h-23.36C336.84 121 304 88.29 264 84.49V64h-16v20.49A85.35 85.35 0 0 0 171.07 161H146v16h25.07A85 85 0 0 0 248 254.06V273h16v-18.94zm112.83 41.48c0-10.7-17.85-19.38-39.87-19.38-22.02 0-39.87 8.68-39.87 19.38s17.85 19.38 39.87 19.38c22.02 0 39.87-8.68 39.87-19.39z"}}]})(props);
55
}
6-
export default GiHeadShot;
6+
export default GiHeadshot;

ico/GiJetPack.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GenIcon, type IconBaseProps } from "https://deno.land/x/react_icons@1.0.0/mod.ts";
22

3-
export function GiJetPack(props: IconBaseProps) {
4-
return GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 16C178.857 16 76 192.867 76 268.657c0 25.263 103.128 25.223 180 25.313 76.874.09 180-.046 180-25.313C436 192.867 333.144 16 256 16zm-90 303.282c-29.772 0-59.312 4.894-63.282 15C94.778 354.492 150.12 496 166 496c15.88 0 71.22-141.51 63.282-161.718-3.97-10.105-33.51-15-63.282-15zm180 0c-29.772 0-59.312 4.894-63.282 15C274.778 354.492 330.12 496 346 496c15.88 0 71.22-141.51 63.282-161.718-3.97-10.105-33.508-15-63.282-15z"}}]})(props);
3+
export function GiJetpack(props: IconBaseProps) {
4+
return GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M316.78 22.875c-39.934 7.73-68.166 23.587-85.06 45.594l56.686 32.718c7.082-3.366 14.852-5.288 22.97-5.407 4.6-.066 9.312.447 14.062 1.595 3.55-21.452.93-46.382-8.657-74.5zm-97.155 60.188l-86.97 150.562 93.126 53.813 21.876-37.875c-9.93-9.794-14.08-24.695-14.594-40.22-.63-18.986 3.98-40.098 12.563-59.187 6.37-14.167 14.91-27.294 25.72-37.22l-51.72-29.874zM426.095 86c-29.394 5.69-52.423 15.795-69.283 29.5 9.33 9.8 14.302 21.758 15.282 34.03l56.53 32.626c10.69-25.678 10.483-57.99-2.53-96.156zM64.968 94.063L27.03 159.78l102 42.75 60.814-105.31L64.97 94.062zm246.624 19.968c-6.535.105-12.59 2.26-18.563 5.845-11.942 7.17-22.876 21.332-30.342 37.938-7.467 16.605-11.48 35.512-10.97 50.906.51 15.377 5.323 26.064 12.813 30.405.008.004.026-.004.033 0 7.503 4.316 19.15 3.152 32.718-4.094 13.584-7.253 27.95-20.167 38.595-34.936 10.645-14.77 17.45-31.35 17.688-45.28.237-13.933-4.683-25.242-20.5-34.376-7.91-4.568-14.935-6.51-21.47-6.407zm58.812 56.126c-3.198 14.315-10.297 28.28-19.375 40.875-12.236 16.98-28.18 31.522-44.936 40.47-13.74 7.338-28.795 11.2-42.28 7.438l-21.845 37.812 93.124 53.78L422 199.94l-51.594-29.782zm54.22 62.625l-60.782 105.345 88.03 67 37.938-65.75-65.187-106.594zm-276.657 31.282c-22.477 9.84-39.73 23.148-51.814 39.344l87.5 50.53c8.04-18.58 11.052-40.098 8.5-64.342l-44.187-25.53zM87.874 320.22L18.22 440.78v37.345l85.843-148.563-16.188-9.343zm169.406 6.967c-22.48 9.84-39.725 23.143-51.81 39.344l87.5 50.533c8.042-18.59 11.056-40.12 8.5-64.375l-44.19-25.5zM122.19 340.031l-90 154.876H53.81l84.594-145.5-16.22-9.375zm34.437 19.876l-77.78 135h21.56l72.376-125.656-16.155-9.344zM197.47 383.5l-63.22 111.406h21.5l57.906-102.062-16.187-9.344zm34.436 19.906l-51.062 91.5h21.375l45.874-82.187-16.188-9.314zm34.438 19.875l-38.938 71.626h21.313l33.843-62.28-16.22-9.345z"}}]})(props);
55
}
6-
export default GiJetPack;
6+
export default GiJetpack;

mod.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,27 @@
2525
*
2626
* ## Direct import sample
2727
*
28-
* `import { Gi3DGlasses } from "https://deno.land/x/react_icons_gi@1.0.1/mod.ts"`
28+
* ```ts
29+
* import { Gi3DGlasses } from "https://deno.land/x/react_icons_gi@1.0.1/mod.ts"
30+
* ```
2931
*
3032
* ## import_map import sample
3133
*
32-
* `import { Gi3DGlasses } from "react-icons/gi"`
34+
* ```ts
35+
* import { Gi3DGlasses } from "react-icons/gi"
36+
* ```
3337
*
3438
* ## minimal import
3539
*
36-
* `import { Gi3DGlasses } from "react-icons/gi/Gi3DGlasses.ts"`
40+
* ```ts
41+
* import { Gi3DGlasses } from "react-icons/gi/Gi3DGlasses.ts"
42+
* ```
3743
*
38-
* ## minimal import default
44+
* ## minimal import using default export
3945
*
40-
* `import Gi3DGlasses from "react-icons/gi/Gi3DGlasses.ts"`
46+
* ```ts
47+
* import Gi3DGlasses from "react-icons/gi/Gi3DGlasses.ts"
48+
* ```
4149
*
4250
* @module
4351
*/

0 commit comments

Comments
 (0)