Skip to content

Commit

Permalink
Update icon-page.js (#922)
Browse files Browse the repository at this point in the history
Updated icon page template from Primer::OcticonComponent to Primer::Beta::Octicon, reflecting the changes made in @primer/view-components@0.0.115
  • Loading branch information
dbreunig committed Feb 16, 2023
1 parent bbff0d1 commit 2b408e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/templates/icon-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function IconPage({pageContext}) {
</Paragraph>

<H3>Octicon View Component</H3>
<Code>{`<%= render(Primer::OcticonComponent.new(:"${pageContext.name}")) %>`}</Code>
<Code>{`<%= render(Primer::Beta::Octicon.new(:"${pageContext.name}")) %>`}</Code>

<H3>Jekyll</H3>
<Code>{`{% octicon ${pageContext.name} height:${icon.height} %}`}</Code>
Expand Down

0 comments on commit 2b408e1

Please sign in to comment.