UNPKG

635 BJavaScriptView Raw
1var _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; };
2
3import { h } from 'preact';
4import getComponent from './utils/get-styled-component';
5
6const supportEmail = 'support@anesthesiacharting.com';
7
8export const Link = getComponent({
9 baseClasses: 'link dark-blue underline hover-light-blue',
10 tagName: 'a'
11});
12
13export const SupportLink = props => h(
14 Link,
15 _extends({ href: `mailto:${supportEmail}` }, props),
16 supportEmail
17);
\No newline at end of file