import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
import * as __WEBPACK_EXTERNAL_MODULE__utils_mjs__ from "./utils.mjs";
const PasswordStrength = (props)=>{
    if ((0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.isFn)(props.children)) return props.children((0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getStrength)(String(props.value || '')));
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react__.Fragment, {
        children: props.children
    });
};
export { PasswordStrength };
