| 62 | type ComponentType = HostComponent<NativeProps>; |
| 63 | |
| 64 | interface NativeCommands { |
| 65 | +focus: (viewRef: React.ElementRef<ComponentType>) => void; |
| 66 | +blur: (viewRef: React.ElementRef<ComponentType>) => void; |
| 67 | +setNativeSelected: ( |
| 68 | viewRef: React.ElementRef<ComponentType>, |
| 69 | selected: Int32, |
| 70 | ) => void; |
| 71 | } |
| 72 | |
| 73 | export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({ |
| 74 | supportedCommands: ['focus', 'blur', 'setNativeSelected'], |
nothing calls this directly
no outgoing calls
no test coverage detected