(values: SheetValues)
| 474 | }); |
| 475 | |
| 476 | function getDataAttributes(values: SheetValues) { |
| 477 | return { |
| 478 | 'data-position': values.position, |
| 479 | 'data-swipe-direction': values.swipeDirection, |
| 480 | 'data-expanded': values.isExpanded || undefined, |
| 481 | 'data-stack-index': values.stackIndex, |
| 482 | 'data-has-descendants': values.hasDescendants || undefined |
| 483 | }; |
| 484 | } |
| 485 | |
| 486 | // Merges the sheet-specific values into the render props, className, and style of a Modal or ModalOverlay. |
| 487 | function useSheetRenderProps( |
no outgoing calls
no test coverage detected