(values: SheetValues)
| 452 | }); |
| 453 | |
| 454 | function getDataAttributes(values: SheetValues) { |
| 455 | return { |
| 456 | 'data-position': values.position, |
| 457 | 'data-swipe-direction': values.swipeDirection, |
| 458 | 'data-expanded': values.isExpanded || undefined, |
| 459 | 'data-stack-index': values.stackIndex, |
| 460 | 'data-has-descendants': values.hasDescendants || undefined |
| 461 | }; |
| 462 | } |
| 463 | |
| 464 | // Merges the sheet-specific values into the render props, className, and style of a Modal or ModalOverlay. |
| 465 | function useSheetRenderProps( |
no outgoing calls
no test coverage detected