File tree 3 files changed +76
-74
lines changed
3 files changed +76
-74
lines changed Original file line number Diff line number Diff line change 38
38
"react/jsx-handler-names": 0,
39
39
"react/jsx-fragments": 0,
40
40
"react/no-unused-prop-types": 0,
41
- "import/export": 0 ,
41
+ "import/export": 2 ,
42
42
"no-extra-boolean-cast": 0
43
43
}
44
44
}
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ Lightweight Mobile UI Components built on Typescript and React in under 2kb!
10
10
11
11
## ** Features**
12
12
13
- * Support Typescript
14
- * 60+ Reusable components
15
- * 100% Storybook coverage: [ https://vant.bctc.io ] ( https://vant.bctc.io )
16
- * Extensive documentation and demos
13
+ - Support Typescript
14
+ - 60+ Reusable components
15
+ - 100% Storybook coverage: [ https://vant.bctc.io ] ( https://vant.bctc.io )
16
+ - Extensive documentation and demos
17
17
18
18
## Install
19
19
@@ -43,91 +43,91 @@ const App = () => {
43
43
44
44
### Basic Components
45
45
46
- * [x] Button
47
- * [x] Cell
48
- * [x] Icon
49
- * [x] Image
50
- * [ ] Layout
51
- * [x] Popup
52
- * [x] Built-in style
46
+ - [x] Button
47
+ - [x] Cell
48
+ - [x] Icon
49
+ - [x] Image
50
+ - [ ] Layout
51
+ - [x] Popup
52
+ - [x] Built-in style
53
53
54
54
### Form Components
55
55
56
- * [ ] Calendar
57
- * [ ] Checkbox
58
- * [ ] DatetimePicker
59
- * [x] Field
60
- * [ ] Form
61
- * [ ] NumberKeyboard
62
- * [ ] PasswordInput
63
- * [ ] Picker
64
- * [ ] Radio
65
- * [x] Rate
66
- * [x] Search
67
- * [x] Slider
68
- * [ ] Stepper
69
- * [ ] Switch
70
- * [ ] SwitchCell
71
- * [ ] Uploader
56
+ - [ ] Calendar
57
+ - [x ] Checkbox
58
+ - [ ] DatetimePicker
59
+ - [x] Field
60
+ - [ ] Form
61
+ - [ ] NumberKeyboard
62
+ - [ ] PasswordInput
63
+ - [ ] Picker
64
+ - [ ] Radio
65
+ - [x] Rate
66
+ - [x] Search
67
+ - [x] Slider
68
+ - [ ] Stepper
69
+ - [ ] Switch
70
+ - [ ] SwitchCell
71
+ - [ ] Uploader
72
72
73
73
### Action Components
74
74
75
- * [ ] ActionSheet
76
- * [ ] Dialog
77
- * [ ] DropdownMenu
78
- * [ ] Loading
79
- * [ ] Notify
80
- * [ ] Overlay
81
- * [ ] PullRefresh
82
- * [ ] ShareSheet
83
- * [ ] SwipeCell
84
- * [ ] Toast
75
+ - [ ] ActionSheet
76
+ - [ ] Dialog
77
+ - [ ] DropdownMenu
78
+ - [ ] Loading
79
+ - [ ] Notify
80
+ - [ ] Overlay
81
+ - [ ] PullRefresh
82
+ - [ ] ShareSheet
83
+ - [ ] SwipeCell
84
+ - [ ] Toast
85
85
86
86
### Display Components
87
87
88
- * [ ] Circle
89
- * [ ] Collapse
90
- * [ ] CountDown
91
- * [ ] Divider
92
- * [ ] Empty
93
- * [ ] ImagePreview
94
- * [ ] Lazyload
95
- * [ ] List
96
- * [ ] NoticeBar
97
- * [ ] Panel
98
- * [ ] Progress
99
- * [ ] Skeleton
100
- * [ ] Steps
101
- * [ ] Sticky
102
- * [ ] Swipe
103
- * [x] Tag
88
+ - [ ] Circle
89
+ - [ ] Collapse
90
+ - [ ] CountDown
91
+ - [ ] Divider
92
+ - [ ] Empty
93
+ - [ ] ImagePreview
94
+ - [ ] Lazyload
95
+ - [ ] List
96
+ - [ ] NoticeBar
97
+ - [ ] Panel
98
+ - [ ] Progress
99
+ - [ ] Skeleton
100
+ - [ ] Steps
101
+ - [ ] Sticky
102
+ - [ ] Swipe
103
+ - [x] Tag
104
104
105
105
### Navigation Components
106
106
107
- * [ ] Grid
108
- * [ ] IndexBar
109
- * [x] NavBar
110
- * [ ] Pagination
111
- * [ ] Sidebar
112
- * [ ] Tab
113
- * [ ] Tabbar
114
- * [ ] TreeSelect
107
+ - [ ] Grid
108
+ - [ ] IndexBar
109
+ - [x] NavBar
110
+ - [ ] Pagination
111
+ - [ ] Sidebar
112
+ - [ ] Tab
113
+ - [ ] Tabbar
114
+ - [ ] TreeSelect
115
115
116
116
### Business Components
117
117
118
- * [ ] AddressEdit
119
- * [ ] AddressList
120
- * [ ] Area
121
- * [ ] Card
122
- * [ ] Contact
123
- * [ ] Coupon
124
- * [ ] GoodsAction
125
- * [ ] SubmitBar
126
- * [ ] Sku
118
+ - [ ] AddressEdit
119
+ - [ ] AddressList
120
+ - [ ] Area
121
+ - [ ] Card
122
+ - [ ] Contact
123
+ - [ ] Coupon
124
+ - [ ] GoodsAction
125
+ - [ ] SubmitBar
126
+ - [ ] Sku
127
127
128
128
### Deprecated
129
129
130
- * [ ] SwitchCell
130
+ - [ ] SwitchCell
131
131
132
132
## Contribution
133
133
@@ -148,4 +148,3 @@ Modern browsers and Android 4.0+, iOS 8.0+.
148
148
## Open Source License
149
149
150
150
This is an Open Source Software operating under the [ MIT] ( https://github.com/mxdi9i7/vant-react/blob/master/LICENSE ) License.
151
-
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import Cell from './components/Cell';
9
9
import Rate from './components/Rate' ;
10
10
import Image from './components/Image' ;
11
11
import Slider from './components/Slider' ;
12
+ import Checkbox from './components/Checkbox' ;
12
13
13
14
export { default as Button } from './components/Button' ;
14
15
export { default as Icon } from './components/Icons' ;
@@ -21,6 +22,7 @@ export { default as Cell } from './components/Cell';
21
22
export { default as Rate } from './components/Rate' ;
22
23
export { default as Image } from './components/Image' ;
23
24
export { default as Slider } from './components/Slider' ;
25
+ export { default as Checkbox } from './components/Checkbox' ;
24
26
25
27
const Vant = {
26
28
Button,
@@ -33,7 +35,8 @@ const Vant = {
33
35
Cell,
34
36
Rate,
35
37
Image,
36
- Slider
38
+ Slider,
39
+ Checkbox
37
40
} ;
38
41
39
42
export default Vant ;
You can’t perform that action at this time.
0 commit comments