(props: ScrollViewProps, ref: ForwardedRef<HTMLDivElement | null>)
| 46 | } |
| 47 | |
| 48 | function ScrollView(props: ScrollViewProps, ref: ForwardedRef<HTMLDivElement | null>) { |
| 49 | ref = useObjectRef(ref); |
| 50 | let {scrollViewProps, contentProps} = useScrollView(props, ref); |
| 51 | |
| 52 | return ( |
| 53 | <div role="presentation" {...scrollViewProps} ref={ref}> |
| 54 | <div {...contentProps}>{props.children}</div> |
| 55 | </div> |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | const ScrollViewForwardRef: React.ForwardRefExoticComponent< |
| 60 | ScrollViewProps & React.RefAttributes<HTMLDivElement | null> |
nothing calls this directly
no test coverage detected