Skip to content

Commit 7332d76

Browse files
committed
chore: update example.
1 parent d5a8956 commit 7332d76

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"@testing-library/jest-dom": "^5.16.2",
77
"@testing-library/react": "^12.1.3",
88
"@testing-library/user-event": "^13.5.0",
9+
"@uiw/react-github-corners": "~1.5.3",
910
"react": "^17.0.2",
1011
"react-dom": "^17.0.2",
1112
"react-scripts": "5.0.0",

src/App.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
import { Button } from 'uiw';
2+
import GitHubCorners from '@uiw/react-github-corners';
23
import logo from './logo.svg';
34
import './App.css';
45

56
function App() {
67
return (
78
<div className="App">
9+
<GitHubCorners
10+
target="__blank"
11+
href="https://github.com/uiwjs/uiw-example-create-react-app"
12+
/>
813
<header className="App-header">
914
<img src={logo} className="App-logo" alt="logo" />
1015
<p>

0 commit comments

Comments
 (0)