// General antd-legacy components
import Alert from "antd-legacy/lib/alert";
import Button from "antd-legacy/lib/button";
import Checkbox from "antd-legacy/lib/checkbox";
import Dropdown from "antd-legacy/lib/dropdown";
import Icon from "antd-legacy/lib/icon";
import Input from "antd-legacy/lib/input";
import Menu from "antd-legacy/lib/menu";
import message from "antd-legacy/lib/message";
import Popconfirm from "antd-legacy/lib/popconfirm";
import Spin from "antd-legacy/lib/spin";
import "../style/antd.less";
import "antd-legacy/lib/dropdown/style/index.css";
import "antd-legacy/lib/checkbox/style/index.css";
import "antd-legacy/lib/menu/style/index.css";
import "antd-legacy/lib/button/style/index.css";
import "antd-legacy/lib/input/style/index.css";
import "antd-legacy/lib/alert/style/index.css";
import "antd-legacy/lib/spin/style/index.css";
import "antd-legacy/lib/message/style/index.css";
import "antd-legacy/lib/popover/style/index.css";

/**
 * Spinning busy icon.
 *
 * @returns
 */
export const BusyIcon = () => <Icon type="loading" spin />;

export { Dropdown, Menu, Button, Input, Alert, Spin, message, Icon, Popconfirm, Checkbox };

export * from "./Creatable.js";
export * from "./Header.js";
export * from "./ResizeButton.js";
export * from "./Toolbar.js";
export * from "./ToolbarButton.js";
export * from "./Tooltip.js";
export * from "./TreeNode.js";
