(style: StyleProp<StyleLike>)
| 126 | type StyleLike = Record<string, unknown>; |
| 127 | |
| 128 | function withHiddenStyle(style: StyleProp<StyleLike>): StyleProp<StyleLike> { |
| 129 | if (style == null) { |
| 130 | return { display: 'none' }; |
| 131 | } |
| 132 | |
| 133 | return [style, { display: 'none' }]; |
| 134 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…