react-native-windows
react-native-windows copied to clipboard
Add ViewComponent support to new library template
Summary
The current cpp-lib template targets a new (turbo) module. We also need to support new View Components
Motivation
Some people will need to create custom ViewComponents.
Basic Example
No response
Open Questions
Can we have just one template for libs or will we need two, to match what create-react-native-library creates?
Assigning to @marlenecota as she's getting RN SVG working and will be able to use that to influence the ViewComponent codegen we need in RNW.
@marlenecota this might be partially completed by additions Andrew made for View. Work next is to compare to what's done and compare the differences. Update this item with what's done / what remains.
@marlenecota Can you link Andrew's PR that added an example to this issue?
@jonthysell With your current tracking is this a dupe of existing issues?
Closing. The NativeModuleSample/cpp-lib shows a working example of adding a ViewComponent to a cpp-lib module without any changes to RNW core code