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