A React Native Windows library to use XAML / WinUI controls
Перейти к файлу
jbgski 0fdf33a7f0
Update & fix links in TechnicalGuide.md (#284)
This commit fixes links from `/asklar/react-native-xaml` to the current
repo URL - `/microsoft/react-native-xaml`
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-xaml/pull/284)
2024-08-28 14:05:37 +00:00
.github Require RNW >= 0.69.0 (#276) 2024-02-20 11:52:28 -08:00
.vscode Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
example Remove example PFX files from repo (#275) 2024-02-15 19:51:24 +00:00
examplenuget Remove example PFX files from repo (#275) 2024-02-15 19:51:24 +00:00
package Update README.md 2024-02-26 11:29:52 -08:00
.clang-format Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
.cspell.json Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
.gitattributes Fix line ending generation 2022-01-26 13:04:37 -08:00
.gitignore gitignore 2021-02-27 22:26:06 -08:00
.spelling Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
CONTRIBUTING.md Fix memory mismanagement bug with EventAttachInfo (#268) 2024-02-02 23:25:18 +00:00
LICENSE Upgrade to WinUI 2.7 (#246) 2023-03-01 17:20:08 -08:00
README.md Update & fix links in TechnicalGuide.md (#284) 2024-08-28 14:05:37 +00:00
SECURITY.md Microsoft mandatory file 2022-08-17 14:46:43 +00:00
TechnicalGuide.md Update & fix links in TechnicalGuide.md (#284) 2024-08-28 14:05:37 +00:00
USAGE.md Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
directory.build.props fix build when running from CLI 2022-11-11 11:03:29 -08:00
package.json Add support for MenuFlyoutSubitem 2022-06-21 11:26:36 -07:00
yarn.lock Bump ip from 1.1.5 to 1.1.9 (#278) 2024-05-17 08:27:16 -07:00

README.md

CI

react-native-xaml

A React Native Windows view manager that allows directly using the Windows XAML framework.

Cheat sheet

To see examples of the syntax and available controls, check out the Usage guide.

Main advantages

  • Allows developers writing react-native-windows apps (React Native apps targeting Windows 10) to quickly get started, if they are familiar with XAML.
  • Developers are not limited by the set of controls present today in RNW and community modules that support Windows.
  • Best of all, this solution is available today!
  • The set of types/properties/events are the XAML ones, however JS libraries can wrap those to expose the Windows control in a platform-agnostic way (e.g. as a way to implement a cross-plat control for Windows).

react-native-xaml works by leveraging metadata for XAML properties, types and events. This metadata is automatically generated (code-gen) from the Windows SDK. This means we can have a full projection of all of XAML – or any WinRT components written by app devs, that export a UserControl – without manual intervention.

Technical details

See Technical Guide.

Contributing

Pull Requests are welcome. See Contribution Guide for details.

Demo

react-native-xaml demo