"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var React=_interopRequireWildcard(require("react")),_classnames=_interopRequireDefault(require("classnames")),_withStyles=_interopRequireDefault(require("../../hoc/withStyles")),_ErrorBoundary=_interopRequireDefault(require("../../hoc/ErrorBoundary")),_styles=_interopRequireDefault(require("./styles"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,newObj}var TriangleArrow=function(props){var classes=props.classes,direction=props.direction,componentClass=(0,_classnames.default)(classes.component);return React.createElement(_ErrorBoundary.default,null,React.createElement("div",{className:componentClass},React.createElement("div",{className:(0,_classnames.default)(classes.arrow,direction)})))};TriangleArrow.defaultProps={direction:"right"};var _default=(0,_withStyles.default)(_styles.default)(TriangleArrow);exports.default=_default;