{"version":3,"file":"/Users/anthonygubler/development/dojo-org/widgets/src/action-button/index.tsx","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAA4C,MAAM,iBAAiB,CAAC;AAC3E,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAKxC,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;KAC/B,UAAU,EAA0B;KACpC,QAAQ,EAAiF,CAAC;AAE5F,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,SAAS,YAAY,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE;IACjF,OAAO,CACN,IAAC,MAAM,oBAAK,UAAU,EAAE,IAAE,OAAO,EAAC,SAAS,KACzC,QAAQ,EAAE,CACH,CACT,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,YAAY,CAAC","sourcesContent":["import { RenderResult } from '@dojo/framework/core/interfaces';\nimport { create, tsx } from '@dojo/framework/core/vdom';\nimport Button, { ButtonProperties, ButtonChildren } from '../button/index';\nimport theme from '../middleware/theme';\n\nexport interface ActionButtonProperties extends ButtonProperties {}\nexport interface ActionButtonChildren extends ButtonChildren {}\n\nconst factory = create({ theme })\n\t.properties<ActionButtonProperties>()\n\t.children<ActionButtonChildren | [ActionButtonChildren] | RenderResult | RenderResult[]>();\n\nexport const ActionButton = factory(function ActionButton({ properties, children }) {\n\treturn (\n\t\t<Button {...properties()} variant=\"inherit\">\n\t\t\t{children()}\n\t\t</Button>\n\t);\n});\n\nexport default ActionButton;\n"]}