{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/vbflYtdD3KQBWdLD1mRa/gL8yMDtnOmmrIXFGYcy9/TiledImage.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function TiledImage(props){// Generate the CSS for the background image\nconst style={backgroundImage:`linear-gradient(rgba(255,255,255,0) 0%, ${props.colorTo} 100%), url(${props.image}), linear-gradient(${props.colorFrom} 0%, ${props.colorTo} 100%)`,backgroundSize:\"auto\",backgroundPosition:\"left top\",backgroundRepeat:\"repeat\",width:\"100%\",height:\"100%\",borderRadius:`${props.borderRadius}px`};// Return a div with the background image\nreturn /*#__PURE__*/_jsx(\"div\",{style:style});}// Add property controls to show in the props panel\naddPropertyControls(TiledImage,{image:{type:ControlType.Image,title:\"Image\"},colorFrom:{type:ControlType.Color,title:\"Color From\"},colorTo:{type:ControlType.Color,title:\"Color To\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"TiledImage\":{\"type\":\"reactComponent\",\"name\":\"TiledImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TiledImage.map"],
  "mappings": "yDAAsG,SAASA,EAAWC,EAAM,CAChI,IAAMC,EAAM,CAAC,gBAAgB,2CAA2CD,EAAM,OAAO,eAAeA,EAAM,KAAK,sBAAsBA,EAAM,SAAS,QAAQA,EAAM,OAAO,SAAS,eAAe,OAAO,mBAAmB,WAAW,iBAAiB,SAAS,MAAM,OAAO,OAAO,OAAO,aAAa,GAAGA,EAAM,YAAY,IAAI,EACjU,OAAoBE,EAAK,MAAM,CAAC,MAAMD,CAAK,CAAC,CAAE,CAC9CE,EAAoBJ,EAAW,CAAC,MAAM,CAAC,KAAKK,EAAY,MAAM,MAAM,OAAO,EAAE,UAAU,CAAC,KAAKA,EAAY,MAAM,MAAM,YAAY,EAAE,QAAQ,CAAC,KAAKA,EAAY,MAAM,MAAM,UAAU,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,CAAC,CAAC",
  "names": ["TiledImage", "props", "style", "p", "addPropertyControls", "ControlType"]
}
