React portals + Github corners
npm install react-gh-corner
https://zzarcon.github.io/react-gh-corner
```
$ yarn add react-gh-corner
Basic
`tsx
import GHCorner from 'react-gh-corner';
`
Custom
`tsx
import GHCorner from 'react-gh-corner';
position="top-right"
bgColor="hotpink"
size={250}
ariaLabel="Check my project"
openInNewTab={true}
/>
`
`ts
type CornerPosition = 'top-right' | 'top-left';
interface Props {
href: string;
position?: CornerPosition;
bgColor?: string;
size?: number;
ariaLabel?: string;
openInNewTab?: boolean;
}
``
See example/ for full example.