lm-web-controls 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";import"react-slick";import"slick-carousel/slick/slick.css";import"slick-carousel/slick/slick-theme.css";"function"==typeof SuppressedError&&SuppressedError;
|
|
1
|
+
import r from"react";import"react-slick";import"slick-carousel/slick/slick.css";import"slick-carousel/slick/slick-theme.css";function e(e){var s=e.value,c=e.className;return r.createElement("a",{href:"mailto:".concat(s),target:"_blank",className:c},s)}"function"==typeof SuppressedError&&SuppressedError;export{e as Email};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("react-slick"),require("slick-carousel/slick/slick.css"),require("slick-carousel/slick/slick-theme.css");var s=r(e);"function"==typeof SuppressedError&&SuppressedError,exports.Email=function(e){var r=e.value,t=e.className;return s.default.createElement("a",{href:"mailto:".concat(r),target:"_blank",className:t},r)};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ type EmailProps = {
|
|
|
5
5
|
className: string;
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export function Email({ value, className }: EmailProps) {
|
|
9
9
|
return (
|
|
10
10
|
<a href={`mailto:${value}`} target="_blank" className={className}>
|
|
11
11
|
{value}
|
|
@@ -7,11 +7,11 @@ declare module "lm-web-controls" {
|
|
|
7
7
|
};
|
|
8
8
|
export const Email: React.FC<EmailProps>;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
type CopyrightProps = {
|
|
11
|
+
name: string;
|
|
12
|
+
className: string;
|
|
13
|
+
};
|
|
14
|
+
export const Copyright: React.FC<CopyrightProps>;
|
|
15
15
|
|
|
16
16
|
type PhoneProps = {
|
|
17
17
|
value: string;
|