@mayank1513/fork-me-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Fork Me React.js component Version Downloads Unit Tests npm bundle size

A simple fork me component for React.js projects!

Install

$ pnpm add @mayank1513/fork-me-react
# or
$ npm install @mayank1513/fork-me-react
# or
$ yan add @mayank1513/fork-me-react

Add on your page

<ForkMe href="https://github.com/mayank1513/turbo-template" />

Optional parameters

	text?: string; // replace the Fork me on GitHub text
	width?: string | number; // if you need to adjust the width of the ribbon (length)
	height?: string | number; // to adjust height of the ribbon
	bgColor?: string; // background color
	textColor?: string; // text color

This package also serves as an example to demonstrate how to build and publish React.js library compatible with React Server Components

Package Sidebar

Install

npm i @mayank1513/fork-me-react

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

13.4 kB

Total Files

43

Last publish

Collaborators

  • mayank1513