@rain-cafe/fork-me
Usage
import { ForkMe } from '@rain-cafe/fork-me';
export function MyApp() {
return (
<div>
My super cool content.
<ForkMe slug="rain-cafe/fork-me" />
</div>
);
}
Properties
Name | Description | Optional? |
---|---|---|
slug | The slug of your repository | No |
side | The side you'd like the octocat to appear! | Yes (defaults to 'right' ) |
backgroundColor | The ribbon color | Yes (defaults to 'black' ) |
color | The octocat color | Yes (defaults to 'white' ) |
newTab | Set this to false to make it open in the current tab. | Yes (defaults to true ) |