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
-`useGithubAutomatedRepos` hook responsible for automating the repositories. It returns a function called dataGithubRepos, which takes two parameters: data (data that comes from the GitHub API) and the keyword (the latter responsible for showing the project on your website from the moment it is declared in the Topics field of the your Github repository). The dataGithubRepos returns, so optimized, an array of objects containing 6 properties: id, html_url, homepage, topics, name and description.
199
201
200
202
```tsx
201
203
const data =useGithubAutomatedRepos("GitHubUsername", "KeyWord");
202
204
```
203
-
205
+
<br>
206
+
204
207
-`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!
205
208
206
209
```tsx
207
210
<StackIconskey={}itemTopics={}className={} />
208
211
```
209
-
212
+
<br>
213
+
210
214
-`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!
211
215
212
216
```tsx
213
217
<StackLabeskey={}itemTopics={}className={} />
214
218
```
215
-
219
+
<br>
220
+
216
221
-`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!
217
222
218
223
```tsx
219
224
<ProjectIconskey={}itemTopics={}className={} />
220
225
```
221
226
222
-
227
+
<br>
228
+
<br>
229
+
223
230
## Fill in the fields in the github repository
224
231
225
232
-`id`: repository identification number. used as parameter in the key tag. This field does not need to be filled in.
-`topics`: array that brings information about the icons in [Project Icons](https://github-automated-repos.vercel.app/documentation/projectIcons) and [Stack Icons](https://github-automated-repos.vercel.app/documentation/stackIcons). Used in both ProjectIcon and StackIcon components. It is in this field that is passed the key configured in the hook. Refers to the field About / Topics of your GitHub.
0 commit comments