Skip to content

Commit 04b5ce2

Browse files
authored
docs: update Readme
1 parent 439ec17 commit 04b5ce2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Array(0)
242242

243243
## Import
244244
```javascript
245-
import { useGitHubAutomatedRepos, ProjectIcon, StackIcon } from 'github-automated-repos/index';
245+
import { useGitHubAutomatedRepos, ProjectIcons, StackIcons, StackLabels } from 'github-automated-repos';
246246
```
247247
<br>
248248

@@ -278,7 +278,7 @@ Array(0)
278278
...
279279
{item.topics.map((icon, index) => {
280280
return (
281-
<StackIcons key={index} itemTopics={ icon} className={ } />
281+
<StackIcons key={index} itemTopics={ icon } className={ } />
282282
}
283283
...
284284
```
@@ -321,7 +321,7 @@ Array(0)
321321
...
322322
{item.topics.map((icon, index) => {
323323
return (
324-
<StackLabes key={ index } itemTopics={ icon} className={ } />
324+
<StackLabes key={ index } itemTopics={ icon } className={ } />
325325
}
326326
...
327327
@@ -452,7 +452,7 @@ Array(0)
452452

453453
```jsx
454454
import './App.css';
455-
import { useGitHubAutomatedRepos, ProjectIcons, StackIcons, StackLabels, } from 'github-automated-repos';
455+
import { useGitHubAutomatedRepos, ProjectIcons, StackIcons, StackLabels } from 'github-automated-repos';
456456
function App() {
457457
{/*useGitHubAutomatedRepos hook*/ }
458458
const data = useGitHubAutomatedRepos("GitHubUsername", "KeyWord");

0 commit comments

Comments
 (0)