react-toolkits 0.4.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ import { u as o, j as t } from "./index-JjvTRqXl.chunk.js";
2
+ import { Result as r, Button as i } from "antd";
3
+ import { useNavigate as n } from "react-router-dom";
4
+ import "react";
5
+ import "react-dom";
6
+ const p = () => {
7
+ const s = n(), e = o();
8
+ return /* @__PURE__ */ t.jsx("div", { className: "h-screen flex justify-center items-center", children: /* @__PURE__ */ t.jsx(
9
+ r,
10
+ {
11
+ status: "404",
12
+ title: "404",
13
+ subTitle: e("NotFound.subTitle"),
14
+ extra: /* @__PURE__ */ t.jsx(
15
+ i,
16
+ {
17
+ type: "primary",
18
+ onClick: () => {
19
+ s("/");
20
+ },
21
+ children: e("NotFound.buttonText")
22
+ }
23
+ )
24
+ }
25
+ ) });
26
+ };
27
+ export {
28
+ p as default
29
+ };