From 7332d76b119a8e99f217b45318b6cfdf2e76f374 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 8 Mar 2022 23:48:45 +0800 Subject: [PATCH] chore: update example. --- package.json | 1 + src/App.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index be49a544..63eb1aeb 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^13.5.0", + "@uiw/react-github-corners": "~1.5.3", "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "5.0.0", diff --git a/src/App.js b/src/App.js index cd4388c3..4d238823 100644 --- a/src/App.js +++ b/src/App.js @@ -1,10 +1,15 @@ import { Button } from 'uiw'; +import GitHubCorners from '@uiw/react-github-corners'; import logo from './logo.svg'; import './App.css'; function App() { return (
+
logo