Skip to content

Commit

Permalink
docs: add react example code (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinckr authored Feb 2, 2022
1 parent 1d0482c commit 0689cc7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/theme/Code/RenderFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ const RenderFlow = ({ flow }) => {
.
</TabItem>
<TabItem value="react">
A React example is currently in the making.
<CodeFromRemote
lang="handlebars"
link={`https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/master/pages/${flow}.tsx`}
src={`https://raw.githubusercontent.com/ory/kratos-selfservice-ui-react-nextjs/master/pages/${flow}.tsx`}
/>
</TabItem>
<TabItem value="golang">
<CodeFromRemote
Expand Down

0 comments on commit 0689cc7

Please sign in to comment.