@undp/design-system-react
Version:
React based design system for UNDP
2 lines • 1.12 kB
JavaScript
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./utils-Dd9-5CFr.cjs"),n=require("./dist-BZMXZCSu.cjs");let r=require("react");r=e.r(r,1);let i=require("react/jsx-runtime");var a=n.t(`flex w-full min-h-[60px] text-normal text-base bg-background text-content-primary p-2.5 text-base transition-colors file:border-0 file:bg-transparent file:font-medium file:text-content-primary focus-visible:outline-hidden focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-disabled placeholder:text-content-placeholder`,{variants:{variant:{light:`border border-stroke`,normal:`border-2 border-foreground`},rounded:{base:`rounded`,sm:`rounded-sm`,md:`rounded-md`,lg:`rounded-lg`,xl:`rounded-xl`,"2xl":`rounded-2xl`,full:`rounded-full`}},defaultVariants:{variant:`normal`,rounded:`base`}}),o=r.default.forwardRef(({className:e,variant:n,placeholder:r,...o},s)=>(0,i.jsx)(`textarea`,{...o,placeholder:r||`Text here...`,className:t.t(a({variant:n}),e),ref:s}));o.displayName=`Textarea`,exports.Textarea=o;
//# sourceMappingURL=Textarea.cjs.map