You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Use the code example in this documentation. [Code Example](https://github.com/DIGOARTHUR/github-automated-repos/tree/main?tab=readme-ov-file#code-example-1)
102
107
103
108
## 1. Installation
104
109
@@ -109,8 +114,7 @@ EXEMPLO
109
114
```
110
115
111
116
## 2. hook config.
112
-
> [!TIP]
113
-
> Use the code example in this documentation. [Code Example](https://github.com/DIGOARTHUR/github-automated-repos/tree/main?tab=readme-ov-file#code-example-1)
-`StackIcons` component returns, based on the iteration of the topics array, icons of the stacks used in your project. Insert the stacks used in the topics field of your repository. Check the [Stack Icons](https://github-automated-repos.vercel.app/documentation/stackIcons) tab!
272
+
-`StackIcons`The component returns, based on the iteration of the topic array that is contained in data, icons of the stacks used in your project. Enter the stacks used in your repository's topic field.. Check the [Stack Icons](https://github-automated-repos.vercel.app/documentation/stackIcons) tab!
-`StackLabels` component returns, based on the iteration of the topics array, labels of the stacks used in your project. Insert the stacks used in the topics field of your repository. Check the [Stack Icons](https://github-automated-repos.vercel.app/documentation/stackIcons) tab!
286
+
- `StackLabels` component returns, based on the iteration of the topics array that is contained in data, labels of the stacks used in your project. Insert the stacks used in the topics field of your repository. Check the [Stack Icons](https://github-automated-repos.vercel.app/documentation/stackIcons) tab!
276
287
277
288
```tsx
278
-
<StackLabeskey={}itemTopics={}className={} />
289
+
data.map((item) => {
290
+
return (
291
+
...
292
+
{item.topics.map((icon, index) => {
293
+
return (
294
+
<StackLabeskey={ index } itemTopics={ icon} className={ } />
295
+
}
296
+
...
297
+
279
298
```
280
299
<br>
281
300
282
-
-`ProjectIcons` component returns, based on the iteration of the topics array, icons to represent your project. The project tag must be inserted in the topics field of your repository. Check the [Project Icons](https://github-automated-repos.vercel.app/documentation/projectIcons) tab!
301
+
- `ProjectIcons` component returns, based on the iteration of the topics array that is contained in data, icons to represent your project. The project tag must be inserted in the topics field of your repository. Check the [Project Icons](https://github-automated-repos.vercel.app/documentation/projectIcons) tab!
283
302
284
303
```tsx
285
-
<ProjectIconskey={}itemTopics={}className={} />
304
+
data.map((item) => {
305
+
return (
306
+
...
307
+
{item.topics.map((icon, index) => {
308
+
return (
309
+
<ProjectIconskey={ index } itemTopics={ icon } className={ } />
0 commit comments