Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simon-he95/git-fork-react
fork me
https://github.com/simon-he95/git-fork-react
git-fork-react
Last synced: 10 days ago
JSON representation
fork me
- Host: GitHub
- URL: https://github.com/simon-he95/git-fork-react
- Owner: Simon-He95
- Created: 2022-10-01T03:25:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:52:20.000Z (11 months ago)
- Last Synced: 2024-09-18T23:13:34.747Z (about 2 months ago)
- Topics: git-fork-react
- Language: TypeScript
- Homepage: https://git-fork-react.netlify.app/
- Size: 369 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 目的
提供一个跳转到GitHub地址的小组件## 灵感来源
- [github-corners](https://tholman.com/github-corners/)
- [github-ribbons](https://github.com/superhugo/github-ribbons)## 参数
```typescript
export interface Props {
link: string ## GitHub地址
position: 'left' | 'right' ## 组件位置
content: string ## 组件内容
color: string ## 组件背景颜色
type: 'corners' | 'ribbons' | 'trapeziumType' ## 提供3种类型的组件
}
```## 引入
```js
import GitForkReact from '@simon_he/git-fork-react'```
## 使用
```html```
## :question: 问题
[issues](https://github.com/Simon-He95/git-fork-react/issues)## 依赖
`vue`、`unocss`、[`vite-plugin-inspector-lib-css`](https://github.com/Simon-He95/vite-plugin-Inspector-lib-css)、`veaury`## vue版本
[`@simon_he/git-fork-vue`](https://github.com/Simon-He95/git-fork-vue)