import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default from"react";var baseStyles="\n  jn-text-xs\n  jn-mt-1\n",variantStyles=function(a){return"success"===a?"jn-text-theme-success":"error"===a?"jn-text-theme-error":"jn-text-theme-light"},FormHint=function(a){var b=a.children,c=void 0===b?null:b,d=a.text,e=void 0===d?"":d,f=a.variant,g=void 0===f?"help":f,h=a.className,i=__rest(a,["children","text","variant","className"]);return React__default.createElement("div",__assign({className:"\n        juno-form-hint\n        juno-form-hint-".concat(g,"\n        ").concat(baseStyles,"\n        ").concat(variantStyles(g),"\n        ").concat(h,"\n      ")},i),c||e)};FormHint.displayName="FormHint";export{FormHint as F};