{"version":3,"file":"UdpBadge.mjs","names":["React","UdpFluentBadge","UdpFluentBadgeWebComponent","JSX","UdpWrapperBaseProps","UdpBadgeProps","Partial","children","ReactNode","onClick","e","MouseEvent","UdpBadge","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpBadge.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentBadge as UdpFluentBadgeWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpBadgeProps\n  extends Partial<JSX.UdpFluentBadge>,\n    UdpWrapperBaseProps {\n  children?: React.ReactNode;\n  /** Interactive badge (a status chip that runs something on click). */\n  onClick?: (e: React.MouseEvent) => void;\n}\n\nexport const UdpBadge: React.FC<UdpBadgeProps> = (props) => {\n  return <UdpFluentBadgeWebComponent {...props} />;\n};\n"],"mappings":";;;;AAaA,MAAaY,YAAoCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AACxCG,OAAA,sBAAA,cAAC,gBAA+BH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAAzCE"}