({
children,
textStyle,
style,
numeric,
maxFontSizeMultiplier,
testID,
...rest
}: Props)
| 65 | * @extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple |
| 66 | */ |
| 67 | const DataTableCell = ({ |
| 68 | children, |
| 69 | textStyle, |
| 70 | style, |
| 71 | numeric, |
| 72 | maxFontSizeMultiplier, |
| 73 | testID, |
| 74 | ...rest |
| 75 | }: Props) => { |
| 76 | return ( |
| 77 | <TouchableRipple |
| 78 | {...rest} |
| 79 | testID={testID} |
| 80 | style={[styles.container, numeric && styles.right, style]} |
| 81 | > |
| 82 | <CellContent |
| 83 | textStyle={textStyle} |
| 84 | testID={testID} |
| 85 | maxFontSizeMultiplier={maxFontSizeMultiplier} |
| 86 | > |
| 87 | {children} |
| 88 | </CellContent> |
| 89 | </TouchableRipple> |
| 90 | ); |
| 91 | }; |
| 92 | |
| 93 | const CellContent = ({ |
| 94 | children, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…