{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/components/FollowUpItem/FollowUpItem.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ButtonHTMLAttributes, forwardRef, ReactNode } from \"react\";\n\nexport interface FollowUpItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n  text: ReactNode;\n  icon?: ReactNode;\n  className?: string;\n}\n\nconst FollowUpItem = forwardRef<HTMLButtonElement, FollowUpItemProps>((props, ref) => {\n  const { className, text, icon, ...rest } = props;\n  return (\n    <button ref={ref} className={clsx(\"openui-follow-up-item\", className)} {...rest}>\n      {text && <span className=\"openui-follow-up-item-text\">{text}</span>}\n      {icon && <span className=\"openui-follow-up-item-icon\">{icon}</span>}\n    </button>\n  );\n});\n\nFollowUpItem.displayName = \"FollowUpItem\";\n\nexport { FollowUpItem };\n"],"mappings":";;;;;;;AASA,MAAM,gBAAA,GAAA,MAAA,aAAiE,OAAO,QAAQ;CACpF,MAAM,EAAE,WAAW,MAAM,MAAM,GAAG,SAAS;AAC3C,QACE,iBAAA,GAAA,kBAAA,MAAC,UAAD;EAAa;EAAK,YAAA,GAAA,KAAA,SAAgB,yBAAyB,UAAU;EAAE,GAAI;YAA3E,CACG,QAAQ,iBAAA,GAAA,kBAAA,KAAC,QAAD;GAAM,WAAU;aAA8B;GAAY,CAAA,EAClE,QAAQ,iBAAA,GAAA,kBAAA,KAAC,QAAD;GAAM,WAAU;aAA8B;GAAY,CAAA,CAC5D;;EAEX;AAEF,aAAa,cAAc"}