sass setup + stole github button css >:)

This commit is contained in:
2023-03-15 14:44:11 +01:00
parent 82626e06ad
commit c5b1a01fd1
15 changed files with 476 additions and 49 deletions

View File

@@ -0,0 +1,13 @@
import React, {FunctionComponent} from "react";
interface Props {
className?: string
onClick?: () => void
children?: React.ReactNode
}
export const GHButton: FunctionComponent<Props> = ({className, onClick, children}) => {
return (
<span className={`gh-button ${className}`} onClick={onClick}>{children}</span>
);
}