{"version":3,"sources":["../src/components/SwatchPicker/ImageSwatch/ImageSwatch.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { ImageSwatchProps } from './ImageSwatch.types';\nimport { useImageSwatch } from './useImageSwatch';\nimport { renderImageSwatch } from './renderImageSwatch';\n\nexport const ImageSwatch: ForwardRefComponent<ImageSwatchProps> = React.forwardRef((props, ref) => {\n  const state = useImageSwatch(props, ref);\n  return renderImageSwatch(state);\n});\n\nImageSwatch.displayName = 'ImageSwatch';\n"],"names":["ImageSwatch","React","forwardRef","props","ref","state","useImageSwatch","renderImageSwatch","displayName"],"mappings":"AAAA;;;;;+BAQaA;;;eAAAA;;;;iEANU;gCAGQ;mCACG;AAE3B,MAAMA,4BAAqDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACzF,MAAMC,QAAQC,IAAAA,8BAAc,EAACH,OAAOC;IACpC,OAAOG,IAAAA,oCAAiB,EAACF;AAC3B;AAEAL,YAAYQ,WAAW,GAAG"}