Skip to content

[0.82] Fork SwitchNativeComponent.js to generate native component implementation for windows #15582

@iamAbhi-916

Description

@iamAbhi-916

This is done while integration: facebook/react-native@changelog/v0.82.0-rc.0...v0.82.1
into 0.82-stable .

This makes sure that SwitchShadowNode native code is generated by removing interfaceOnly:true for windows

export default (codegenNativeComponent<SwitchNativeProps>('Switch', {
  paperComponentName: 'RCTSwitch',
  excludedPlatforms: ['android'],
  intefaceOnly: true // this is removed for windows
}): ComponentType);


Metadata

Metadata

Assignees

Labels

Integration Follow-upInvalid Triagehttps://github.com/microsoft/react-native-windows/wiki/Triage-Process (label applied by bot)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions