summaryrefslogtreecommitdiff
path: root/packages/tweetdeck/src/Test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tweetdeck/src/Test.tsx')
-rw-r--r--packages/tweetdeck/src/Test.tsx19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/tweetdeck/src/Test.tsx b/packages/tweetdeck/src/Test.tsx
new file mode 100644
index 0000000..28de9b9
--- /dev/null
+++ b/packages/tweetdeck/src/Test.tsx
@@ -0,0 +1,19 @@
+import "./styles/normalize.css";
+import "./styles/index.css";
+import { LangText } from "@sortug/prosody-ui";
+import toast from "react-hot-toast";
+
+export function Test() {
+ const text = `อุตุฯ ฉบับ 16 เช็กจังหวัดภาคใต้เจอฝนตกหนักถึงหนักมาก`;
+ return (
+ <div className="app-shell">
+ <LangText
+ lang="th"
+ text={text}
+ theme="dark"
+ handleError={(e) => toast.error(e)}
+ />
+ </div>
+ );
+}
+export default Test;