@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
21 lines • 677 B
JavaScript
/**
* ButtonFixedFeedback module.
* @module @massds/mayflower-react/ButtonFixedFeedback
* @requires module:@massds/mayflower-assets/scss/01-atoms/fixed-feedback-button
*/
import React from "react";
import PropTypes from "prop-types";
const ButtonFixedFeedback = props => /*#__PURE__*/React.createElement("div", {
className: "ma__fixed-feedback-button"
}, /*#__PURE__*/React.createElement("a", {
href: props.href
}, props.text));
ButtonFixedFeedback.propTypes = process.env.NODE_ENV !== "production" ? {
href: PropTypes.string,
text: PropTypes.string
} : {};
ButtonFixedFeedback.defaultProps = {
href: '#',
text: 'Feedback'
};
export default ButtonFixedFeedback;