add font to GBadge
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 51s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s

This commit is contained in:
Mohamadzadeh 2026-07-09 18:22:57 +03:30
parent b21b07953b
commit 2f570b9ae9
2 changed files with 5489 additions and 5377 deletions

10862
dist/remote/GBadge.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
import React from "react";
import { createRoot } from "react-dom/client";
import { Badge, ChakraProvider } from "@chakra-ui/react";
import { Fonts, theme } from "../../core/style.jsx";
const GBadge = ({ children, ...props }) => {
return (
@ -60,7 +61,8 @@ class GBadgeElement extends HTMLElement {
if (!this._root) return;
this._root.render(
<ChakraProvider>
<ChakraProvider theme={theme}>
<Fonts />
<GBadge {...this._props} />
</ChakraProvider>,
);