If you have a look at the Vue project that this screenshot is from, you can see the Vue source code. You should be able to copy it to React with some small syntax changes but basically similar code. https://github.com/OnsenUI/vue-onsenui-kitchensink/tree/master/src