From cb1b56f5a0eddbf77446f415f2beda57c8305f85 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Sun, 23 Nov 2025 01:12:53 +0700
Subject: wut

---
 packages/prosody-ui/src/fonts/Hani.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 packages/prosody-ui/src/fonts/Hani.tsx

(limited to 'packages/prosody-ui/src/fonts/Hani.tsx')

diff --git a/packages/prosody-ui/src/fonts/Hani.tsx b/packages/prosody-ui/src/fonts/Hani.tsx
new file mode 100644
index 0000000..f9cc602
--- /dev/null
+++ b/packages/prosody-ui/src/fonts/Hani.tsx
@@ -0,0 +1,14 @@
+import React, { useState, type ReactNode } from "react";
+import "../assets/fonts/Hani/style.css";
+
+function ChineseFontLoader({ children }: { children: ReactNode }) {
+  const [fontIdx, setFont] = useState(0);
+  const fontCount = 12;
+  function changeFont() {
+    if (fontIdx === fontCount) setFont(0);
+    else setFont((prev) => prev + 1);
+  }
+  return <div>{children}</div>;
+}
+
+export default ChineseFontLoader;
-- 
cgit v1.2.3

