cccraim / m-picker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from react-component/m-picker
React Mobile Picker(web & react-native)
Home Page: http://react-component.github.io/m-picker/
This project forked from react-component/m-picker
React Mobile Picker(web & react-native)
Home Page: http://react-component.github.io/m-picker/
Using the example mentioned in the docu, I'm not able to make it run properly.
I tried the following ...
<Picker>
<Picker.Item value="1" key="1">1</Picker.Item>
<Pikcer.Item value="2" key="2">2</Picker.Item>
</Picker>
and face this error ...
Type '{ children: number; value: string; key: number; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; value: any; }'.
Property 'children' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; value: any; }'.ts(2322)
However using this ...
<Picker>
<Picker.Item value="1" key="key" />
<Picker.Item value="2" key="key" />
</Picker>
... won't create an error - but won't render the Item (renders empty Picker container).
I already use the 'rmc-picker' package and it is working fine. It would be awesome to have the key/scroll support coming with this package.
Hope anyone can help me out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.