MCPcopy Index your code
hub / github.com/react-native-picker/picker / NativeCommands

Interface NativeCommands

js/AndroidDialogPickerNativeComponent.js:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62type ComponentType = HostComponent<NativeProps>;
63
64interface 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
73export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
74 supportedCommands: ['focus', 'blur', 'setNativeSelected'],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected