FooterScrollRow
A horizontally scrolling row of controls, with arrows at each edge that show only while there is something that way.
@internote/canvas-sdk/reactOn this page
import { FooterScrollRow } from '@internote/canvas-sdk/react';The arrows sit over each edge rather than beside the row, so a row that fits reads as a plain row and a row that does not keeps its full width. The class that shows them is written straight to the DOM, because a browser holds React's re-renders back during a scroll gesture.
#Props
Also takes className. Any other prop is passed to the rendered element.
ariaLabelThe scrolling region's accessible name.
stringchildrenThe controls in the row.
ReactNodenextLabelThe right arrow's accessible name.
stringDefault
'Next'previousLabelThe left arrow's accessible name.
stringDefault
'Previous'scrollStepHow many items one arrow press advances by; a row whose first item is wider than half the view moves most of a view instead.
numberDefault
3Declared in packages/canvas-sdk/src/react/footer-actions.tsx:109.