blob: 28de9b99e588840c9ec25ceca3ef374b96d5dd53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
|