UNPKG
lulouis-vant
Version:
latest (1.5.9)
1.5.9
1.5.8
Lightweight Mobile UI Components built on Vue
github.com/lulouis/vant
lulouis/vant
lulouis-vant
/
es
/
info
/
index.js
16 lines
(14 loc)
•
289 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{ use, isDef }
from
'../utils'
;
var
_use =
use
(
'info'
), sfc = _use[
0
], bem = _use[
1
];
export
default
sfc
({
props
: {
info
: [
String
,
Number
] },
render
:
function
render
(
h
) {
return
isDef
(
this
.
info
) &&
h
(
"div"
, {
"class"
:
bem
() }, [
this
.
info
]); } });