{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/gM62OjS0Veo8fJMxSL3w/xfPozZz4r2z9O0CmOHNb/DownloadFileButtonText.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import GeneralButtonText from\"https://framerusercontent.com/modules/XOWE8i7qRS4wB6ZVys8V/TQUMvStTBwzyYSoUAeof/rn4PpS_ge.js\";/**\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function DownloadFileButtonText({file,label,...props}){return /*#__PURE__*/_jsx(GeneralButtonText,{...props,onClick:()=>{const link=document.createElement(\"a\");link.href=file;link.download=\"download\";document.body.appendChild(link);link.click();link.remove();},label:label});}DownloadFileButtonText.defaultProps={label:\"Download\"};DownloadFileButtonText.displayName=\"General/Button - File - Text\";addPropertyControls(DownloadFileButtonText,{variant:GeneralButtonText.propertyControls.variant,label:{title:\"Label\",type:ControlType.String},file:{title:\"File\",type:ControlType.File,allowedFileTypes:[]}});const containerStyle={display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DownloadFileButtonText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "kIAIkB,SAARA,EAAwC,CAAC,KAAAC,EAAK,MAAAC,EAAM,GAAGC,CAAK,EAAE,CAAC,OAAoBC,EAAKC,EAAkB,CAAC,GAAGF,EAAM,QAAQ,IAAI,CAAC,IAAMG,EAAK,SAAS,cAAc,GAAG,EAAEA,EAAK,KAAKL,EAAKK,EAAK,SAAS,WAAW,SAAS,KAAK,YAAYA,CAAI,EAAEA,EAAK,MAAM,EAAEA,EAAK,OAAO,CAAE,EAAE,MAAMJ,CAAK,CAAC,CAAE,CAACF,EAAuB,aAAa,CAAC,MAAM,UAAU,EAAEA,EAAuB,YAAY,+BAA+BO,EAAoBP,EAAuB,CAAC,QAAQK,EAAkB,iBAAiB,QAAQ,MAAM,CAAC,MAAM,QAAQ,KAAKG,EAAY,MAAM,EAAE,KAAK,CAAC,MAAM,OAAO,KAAKA,EAAY,KAAK,iBAAiB,CAAC,CAAC,CAAC,CAAC",
  "names": ["DownloadFileButtonText", "file", "label", "props", "p", "rn4PpS_ge_default", "link", "addPropertyControls", "ControlType"]
}
