Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09b486c

Browse files
committedMar 8, 2022
website: add github corner.
1 parent b9e38c4 commit 09b486c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"parcel": "~2.3.2"
2222
},
2323
"dependencies": {
24+
"@uiw/react-github-corners": "~1.5.3",
2425
"@uiw/react-markdown-preview": "~3.5.1",
2526
"react": "~17.0.2",
2627
"react-dom": "~17.0.2",

‎src/App.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
import React from 'react';
22
import { Button } from 'uiw';
33
import Markdown from '@uiw/react-markdown-preview';
4+
import GitHubCorners from '@uiw/react-github-corners';
45
import Logo from './logo.svg';
56
import './App.css';
67
import mdStr from '../README.md';
78

89
export default function App() {
910
return (
1011
<div className="App">
12+
<GitHubCorners
13+
target="__blank"
14+
href="https://github.com/uiwjs/uiw-example-parcel"
15+
/>
1116
<header className="App-header">
1217
<Logo className="App-logo" height="60" width="60" viewBox="0 0 20 20" />
1318
<h1 className="App-title">Welcome to React</h1>

‎src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<head>
44
<meta charset="UTF-8">
5-
<title>Demo.</title>
5+
<title>uiw-example-parcel</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
77
<meta name="description" content="A robust Javascript library for capturing keyboard input and key combinations entered. It has no dependencies. Try to press your keyboard, The following button will highlight.">
88
</head>

0 commit comments

Comments
 (0)
Please sign in to comment.