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-upNeeds: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions