How to use the @artsy/palette.ChevronIcon function in @artsy/palette

To help you get started, we’ve selected a few @artsy/palette examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github artsy / reaction / dist / Components / v2 / Carousel.js View on Github external
right: rightPosition,
          showArrow: showRightArrow
        }, _react.default.createElement(ArrowButton, {
          height: height,
          onClick: function onClick() {
            _this.flickity.next();

            if (onArrowClick) {
              onArrowClick({
                state: _this.state,
                props: _this.props,
                flickity: _this.flickity
              });
            }
          }
        }, _react.default.createElement(_palette.ChevronIcon, {
          height: 30,
          direction: "right",
          fill: "black100",
          width: 30
        })));
      }; // Override default arrow display if custom render callback has been passed