Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        






@simon_he/git-fork-react


NPM version
NPM version

## 目的
提供一个跳转到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

```

## :coffee:
Buy Me A Coffee

## :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)