(style)
| 17 | import type { StyleObj } from 'StyleSheetTypes'; |
| 18 | |
| 19 | function getStyle(style) { |
| 20 | if (typeof style === 'number') { |
| 21 | return ReactNativePropRegistry.getByID(style); |
| 22 | } |
| 23 | return style; |
| 24 | } |
| 25 | |
| 26 | function flattenStyle(style: ?StyleObj): ?Object { |
| 27 | if (!style) { |
no test coverage detected
searching dependent graphs…