microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.34k stars 1.14k forks source link

Add ViewComponent support to new library template #12641

Open jonthysell opened 9 months ago

jonthysell commented 9 months ago

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?

jonthysell commented 6 months ago

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.

chrisglein commented 2 months ago

@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.

chrisglein commented 1 month ago

@marlenecota Can you link Andrew's PR that added an example to this issue?

marlenecota commented 1 month ago

@marlenecota Can you link Andrew's PR that added an example to this issue?

13640