import React, { type CSSProperties, type SVGProps, useEffect } from "react"; import { CSSRules } from "./styles"; const text = "If you find Refine useful, you can contribute to its growth by giving it a star on GitHub"; type Props = { containerStyle?: CSSProperties; }; export const GitHubBanner = ({ containerStyle }: Props) => { useEffect(() => { const styleTag = document.createElement("style"); document.head.appendChild(styleTag); CSSRules.forEach((rule) => styleTag.sheet?.insertRule(rule, styleTag.sheet.cssRules.length), ); }, []); return (