@randy.tarampi/jsx
Version:
Some common JSX components for www.randytarampi.ca
19 lines (18 loc) • 785 B
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import PropTypes from "prop-types";
import React from "react";
import BrandedLink from "./brandedLink";
export var F00pxLink = props => {
return /*#__PURE__*/React.createElement(BrandedLink, _extends({}, props, {
serviceType: "f00px",
serviceName: "500px",
serviceUrl: "https://www.500px.com"
}));
};
F00pxLink.propTypes = {
username: PropTypes.string.isRequired
};
F00pxLink.defaultProps = {
username: "randytarampi"
};
export default F00pxLink;