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