import { createTextVNode, createVNode } from "vue";
import { Progress, theme } from "antdv-next";
//#region components/attachments/FileList/Progress.tsx
function ProgressNode(props) {
	const { token } = theme.useToken();
	return createVNode(Progress, {
		"type": "circle",
		"percent": props.percent,
		"size": token.value.fontSizeHeading2 * 2,
		"strokeColor": "#FFF",
		"railColor": "rgba(255, 255, 255, 0.3)",
		"format": (ptg) => createVNode("span", { "style": { color: "#FFF" } }, [(ptg ?? 0).toFixed(0), createTextVNode("%")])
	}, null);
}
//#endregion
export { ProgressNode as default };
