Skip to content

Commit

Permalink
Merge pull request primer#227 from pocke/fix-typo-in-readme
Browse files Browse the repository at this point in the history
[README] Fix typo function name in README
  • Loading branch information
shawnbot authored Aug 28, 2018
2 parents c78f668 + 0213d46 commit 4bfa702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octicons_react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import React from 'react'
import Octicon, {getIconByName} from '@githubprimer/octicons-react'

export default function OcticonByName({name, ...props}) {
return <Octicon {...props} icon={getIcon(name)} />
return <Octicon {...props} icon={getIconByName(name)} />
}
```

Expand Down

0 comments on commit 4bfa702

Please sign in to comment.