Skip to content

Commit

Permalink
feat(taro-components): 添加 PickerViewColumn 组件 (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k authored and luckyadam committed Mar 28, 2019
1 parent 0097df0 commit 9fa119b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Nerv from 'nervjs'

class PickerViewColumn extends Nerv.Component {
componentDidMount () {
console.error('H5 暂不支持 PickerViewColumn 组件!')
}

render () {
const { ...rest } = this.props
return <div {...rest}>{this.props.children}</div>
}
}

export default PickerViewColumn
1 change: 1 addition & 0 deletions packages/taro-components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ export { default as Canvas } from './components/canvas'
export { MovableArea, MovableView } from './components/movable-view'
export { CoverImage, CoverView } from './components/cover-view'
export { default as PickerView } from './components/picker-view'
export { default as PickerViewColumn } from './components/picker-view-column'

0 comments on commit 9fa119b

Please sign in to comment.