@@ -154,7 +154,7 @@ export function WithHorizonalScrollPrevention() {
154154 ) ;
155155}
156156
157- export function ToChildComponent ( ) {
157+ export function ScrollToChildComponent ( ) {
158158 return (
159159 < Card title = "Terms of service" sectioned >
160160 < Scrollable shadow style = { { height : '200px' } } >
@@ -500,3 +500,30 @@ export function WithScrollHint() {
500500 </ Card >
501501 ) ;
502502}
503+
504+ export function OnScrolledToBottom ( ) {
505+ return (
506+ < Card title = "Terms of service" sectioned >
507+ < Scrollable
508+ style = { { height : '200px' } }
509+ onScrolledToBottom = { ( ) => console . log ( 'scrolled to bottom' ) }
510+ >
511+ < p >
512+ By signing up for the Shopify service (“Service”) or any of the
513+ services of Shopify Inc. (“Shopify”) you are agreeing to be bound by
514+ the following terms and conditions (“Terms of Service”). The Services
515+ offered by Shopify under the Terms of Service include various products
516+ and services to help you create and manage a retail store, whether an
517+ online store (“Online Services”), a physical retail store (“POS
518+ Services”), or both. Any new features or tools which are added to the
519+ current Service shall be also subject to the Terms of Service. You can
520+ review the current version of the Terms of Service at any time at
521+ https://www.shopify.com/legal/terms. Shopify reserves the right to
522+ update and change the Terms of Service by posting updates and changes
523+ to the Shopify website. You are advised to check the Terms of Service
524+ from time to time for any updates or changes that may impact you.
525+ </ p >
526+ </ Scrollable >
527+ </ Card >
528+ ) ;
529+ }
0 commit comments