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
/
packages
/
info
/
index.js
14 lines
(10 loc)
•
242 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{ use, isDef }
from
'../utils'
;
const
[sfc, bem] =
use
(
'info'
);
export
default
sfc
({
props
: {
info
: [
String
,
Number
] },
render
(
h
) {
return
isDef
(
this
.
info
) &&
<
div
class
=
{bem()}
>
{this.info}
</
div
>
; } });