MCPcopy Index your code
hub / github.com/testshallpass/react-native-dropdownalert / _renderTitle

Function _renderTitle

DropdownAlert.tsx:509–525  ·  view source on GitHub ↗
(title?: string)

Source from the content-addressed store, hash-verified

507 }
508
509 function _renderTitle(title?: string) {
510 if (renderTitle) {
511 return renderTitle(alertData);
512 }
513 if (!title || title.length === 0) {
514 return null;
515 }
516 return (
517 <Text
518 style={titleTextStyle}
519 numberOfLines={titleNumberOfLines}
520 testID={DropDownAlertTestID.Title}
521 {...titleTextProps}>
522 {title}
523 </Text>
524 );
525 }
526
527 function _renderMessage(message?: string) {
528 if (renderMessage) {

Callers 1

_renderAlertFunction · 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…