import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules } from './utils'; var CarouselControl = function CarouselControl(props) { var direction = props.direction, onClickHandler = props.onClickHandler, cssModule = props.cssModule, directionText = props.directionText, className = props.className; var anchorClasses = mapToCssModules(classNames(className, "carousel-control-" + direction), cssModule); var iconClasses = mapToCssModules(classNames("carousel-control-" + direction + "-icon"), cssModule); var screenReaderClasses = mapToCssModules(classNames('sr-only'), cssModule); return ( /*#__PURE__*/ // We need to disable this linting rule to use an `` instead of // `