Skip to content

Commit

Permalink
feat(component-rn): 添加 Block 组件
Browse files Browse the repository at this point in the history
  • Loading branch information
Pines-Cheng committed Apr 16, 2019
1 parent 00bac39 commit 714c770
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/taro-components-rn/src/components/Block/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import * as React from 'react'
import { View as _Block } from '../View/index'

export { _Block }
export default _Block
1 change: 1 addition & 0 deletions packages/taro-components-rn/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { default as Provider } from './lib/provider'
export { default as View } from './components/View'
export { default as Block } from './components/Block'
export { default as ScrollView } from './components/ScrollView'
export { default as Swiper } from './components/Swiper'
export { default as SwiperItem } from './components/Swiper/SwiperItem'
Expand Down

0 comments on commit 714c770

Please sign in to comment.