@activecollab/components
Version:
ActiveCollab Components
21 lines • 708 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["children", "className"];
import React from "react";
import classNames from "classnames";
import { StyledBackLink } from "./Styles";
/**
* Back link component
*/
export const BackLink = _ref => {
let {
children,
className
} = _ref,
args = _objectWithoutPropertiesLoose(_ref, _excluded);
return /*#__PURE__*/React.createElement(StyledBackLink, _extends({
className: classNames("c-back-link", className)
}, args), children);
};
BackLink.displayName = "BackLink";
//# sourceMappingURL=BackLink.js.map