MCPcopy
hub / github.com/testshallpass/react-native-dropdownalert / _onLayout

Function _onLayout

DropdownAlert.tsx:485–490  ·  view source on GitHub ↗
(event: LayoutChangeEvent)

Source from the content-addressed store, hash-verified

483 }
484
485 function _onLayout(event: LayoutChangeEvent) {
486 const eventHeight = event.nativeEvent.layout.height;
487 if (eventHeight > height) {
488 setHeight(eventHeight);
489 }
490 }
491
492 function _renderImage(source: ImageSourcePropType | undefined) {
493 if (renderImage) {

Callers 1

DropdownAlertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…