UNPKG

@s-ui/react-atom-button

Version:
19 lines 689 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; var _excluded = ["children"]; import { forwardRef } from 'react'; import PropTypes from 'prop-types'; import { jsx as _jsx } from "react/jsx-runtime"; var ButtonLink = /*#__PURE__*/forwardRef(function (_ref, ref) { var children = _ref.children, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/_jsx("a", _extends({}, props, { ref: ref, children: children })); }); ButtonLink.displayName = 'ButtonLink'; ButtonLink.propTypes = { children: PropTypes.node }; export default ButtonLink;