We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Virtuoso: https://github.com/petyosi/react-virtuoso
import React from "react"; import { Virtuoso } from "react-virtuoso"; import CustomScrollbar from "./CustomScrollbar"; export default function App() { return ( <Virtuoso components={{ Scroller: CustomScrollbar, }} style={{ height: 400 }} totalCount={200} itemContent={(index) => <div>Item {index}</div>} /> ); };
CustomScrollbar.jsx:
import { Scrollbar } from "@tonic-ui/react"; import React from "react"; const CustomScrollbar = React.forwardRef(( { style, ...rest }, ref, ) => { const { height } = style; return ( <Scrollbar scrollViewRef={ref} height={height} {...rest} /> ); }); export default CustomScrollbar;
The text was updated successfully, but these errors were encountered:
Added in #939
Sorry, something went wrong.
No branches or pull requests
React Virtuoso: https://github.com/petyosi/react-virtuoso
CustomScrollbar.jsx:
The text was updated successfully, but these errors were encountered: