-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
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
feat(react/scrollbar
): add scrollViewProps
to enable passing custom props to the ScrollView
component
#939
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
🦋 Changeset detectedLatest commit: 5831187 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v2 #939 +/- ##
==========================================
+ Coverage 77.80% 77.81% +0.01%
==========================================
Files 403 403
Lines 6636 6636
==========================================
+ Hits 5163 5164 +1
+ Misses 1473 1472 -1 ☔ View full report in Codecov by Sentry. |
Tonic UI DemoOn 2024-10-17 03:20:28 +0000, PR #939 (5831187) was successfully deployed. You can view it at the following link: |
…rollView` component
react/scrollbar
): introduce scrollViewProps
to allow custom props to be passed to the internal ScrollView
component
react/scrollbar
): introduce scrollViewProps
to allow custom props to be passed to the internal ScrollView
componentreact/scrollbar
): add scrollViewProps
to enable passing custom props to the ScrollView
component
/describe |
PR Description updated to latest commit (3eaafb6)
|
/improve |
PR Code Suggestions ✨Latest suggestions up to 3eaafb6
Previous suggestionsSuggestions up to commit d10a663
|
Demo: https://trendmicro-frontend.github.io/tonic-ui-demo/react/pr-939/components/scrollbar#how-to-integrate-react-virtuoso-with-a-custom-scrollbar
PR Type
Enhancement, Documentation
Description
ScrollView
component viascrollViewProps
.Scrollbar
component to handle custom event handlers usingcallEventHandlers
.scrollViewProps
in the props table.react-virtuoso
as a dependency in the project.Changes walkthrough 📝
faq-react-virtuoso.js
Add React Virtuoso integration example with custom scrollbar
packages/react-docs/pages/components/scrollbar/faq-react-virtuoso.js
CustomScrollbar
component for use with Virtuoso.App
component as default.index.page.mdx
Document React Virtuoso integration with custom scrollbar
packages/react-docs/pages/components/scrollbar/index.page.mdx
scrollViewProps
.Scrollbar.js
Add scrollViewProps for custom ScrollView properties
packages/react/src/scrollbar/Scrollbar.js
scrollViewProps
to pass custom props toScrollView
.callEventHandlers
for event handling.getScrollViewProps
to includescrollViewProps
.package.json
Add react-virtuoso dependency
packages/react-docs/package.json
react-virtuoso
as a new dependency.