import _extends from "@babel/runtime/helpers/esm/extends";
import React, { forwardRef } from "react";
import classnames from "classnames";
import { StyledAddCrossIcon, StyledAddToListButton, StyledText } from "./Styles";
export const AddToListButton = /*#__PURE__*/forwardRef((_ref, ref) => {
  let {
    text,
    className,
    ...rest
  } = _ref;
  return /*#__PURE__*/React.createElement(StyledAddToListButton, _extends({
    ref: ref,
    className: classnames("c--add-to-list-btn", className)
  }, rest), /*#__PURE__*/React.createElement(StyledAddCrossIcon, null), /*#__PURE__*/React.createElement(StyledText, {
    weight: "medium"
  }, text));
});
AddToListButton.displayName = "AddToListButton";
//# sourceMappingURL=AddToListButton.js.map