// Copyright 2025 The Lynx Authors. All rights reserved. // Licensed under the Apache License Version 2.0 that can be found in the // LICENSE file in the root directory of this source tree. import { root } from "@lynx-js/react"; import "./index.css"; import { VerticalScrollItem } from "../component/scrollItem.jsx"; const VerticalScrollContainer = () => { return ( ScrollView Example { console.log(e.detail); }} bindscrolltoupper={(e) => { console.log(e.detail); }} bindscrolltolower={(e) => { console.log(e.detail); }} > {Array.from({ length: 20 }).map((item, index) => )} ); }; export default VerticalScrollContainer; root.render();