UNPKG
focus-pro
Version:
latest (0.1.7)
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
focus-pro 中台前端组件库
focus-pro
/
dist
/
ValueType
/
email
/
Display
/
index.js
10 lines
•
312 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ jsx
as
_jsx }
from
"react/jsx-runtime"
;
var
Display
=
function
Display
(
_ref
) {
var
text = _ref.
text
;
// mailto链接:打开默认的邮箱客户端,并自动填入指定邮箱
return
/*#__PURE__*/
_jsx
(
"a"
, {
href
:
"mailto:"
.
concat
(text),
children
: text }); };
export
default
Display
;