import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import { useButtonContext } from "./context.js";
import t_default from "../t/t.js";
import "../t/index.js";
import "../core/index.js";
import { jsx } from "react/jsx-runtime";

//#region src/button/buttonText.tsx
/** Displays the text label of the button. */
const ButtonText = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Button", useButtonContext());
	return /* @__PURE__ */ jsx(t_default, {
		className: cs("vui-buttonText", className),
		fontSize: "inherit",
		ref,
		...styles.text,
		...rest
	});
});
ButtonText.displayName = "ButtonText";
var buttonText_default = ButtonText;

//#endregion
export { ButtonText, buttonText_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=buttonText.js.map