Initial commit
This commit is contained in:
15
src/components/WheelPicker/index.ts
Normal file
15
src/components/WheelPicker/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import PickerRoot, { PickerRootProps as PickerProps, PickerValue } from './components/Picker'
|
||||
import PickerColumn from './components/PickerColumn'
|
||||
import PickerItem from './components/PickerItem'
|
||||
|
||||
export type { PickerProps, PickerValue }
|
||||
|
||||
const Picker = PickerRoot as typeof PickerRoot & {
|
||||
Column: typeof PickerColumn
|
||||
Item: typeof PickerItem
|
||||
}
|
||||
|
||||
Picker.Column = PickerColumn
|
||||
Picker.Item = PickerItem
|
||||
|
||||
export default Picker
|
||||
Reference in New Issue
Block a user