import{s as o,_ as c}from"./style-inject.es-f40f6556.js";import{Chevron as r,Position as t}from"@transferwise/components";import n from"prop-types";import e from"react";var i={"arrow-icon":"cc_arrow-icon_3804785543",arrowIcon:"cc_arrow-icon_3804785543",top:"cc_top_3804785543",bottom:"cc_bottom_3804785543","tw-icon":"cc_tw-icon_3804785543",twIcon:"cc_tw-icon_3804785543","tw-icon-chevron-up":"cc_tw-icon-chevron-up_3804785543",twIconChevronUp:"cc_tw-icon-chevron-up_3804785543","tw-chevron":"cc_tw-chevron_3804785543",twChevron:"cc_tw-chevron_3804785543","chevron-color":"cc_chevron-color_3804785543",chevronColor:"cc_chevron-color_3804785543"};function p(o,c){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);c&&(t=t.filter(function(c){return Object.getOwnPropertyDescriptor(o,c).enumerable})),r.push.apply(r,t)}return r}function s(o){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach(function(r){c(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach(function(c){Object.defineProperty(o,c,Object.getOwnPropertyDescriptor(t,c))})}return o}o(".cc_arrow-icon_3804785543{margin-left:var(--size-8)}.cc_bottom_3804785543,.cc_chevron-color_3804785543,.cc_top_3804785543,.cc_tw-chevron_3804785543,.cc_tw-icon-chevron-up_3804785543,.cc_tw-icon_3804785543{box-sizing:border-box}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9jb21tb24vQXJyb3dJY29uLm1vZHVsZS5sZXNzIiwiQXJyb3dJY29uLm1vZHVsZS5sZXNzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDBCQUNFLHlCQ0FGLENER0EseUpBS2lCLHFCQ0FqQiIsImZpbGUiOiJBcnJvd0ljb24ubW9kdWxlLmxlc3MifQ== */");var _=function(o){var c,n=o.iconPosition,p=o.styles,_=s(s({},i),p);return e.createElement(r,{className:(c=["arrow-icon"],c.map(function(o){return"".concat(_[o])}).join(" ")),orientation:"up"===n?t.TOP:t.BOTTOM})};_.propTypes={iconPosition:n.oneOf(["up","down"])},_.defaultProps={iconPosition:"down"};export{_ as A};
//# sourceMappingURL=ArrowIcon-80c3d179.js.map
