react-native-xaml/package
Jon Thysell cccb9a7aa1 RNW v0.0.79 2024-11-21 15:03:35 -08:00
..
Codegen
src
windows RNW v0.0.79 2024-11-21 15:03:35 -08:00
.gitignore
.npmignore
CHANGELOG.json RNW v0.0.79 2024-11-21 15:03:35 -08:00
CHANGELOG.md RNW v0.0.79 2024-11-21 15:03:35 -08:00
LICENSE
README.md
package.json RNW v0.0.79 2024-11-21 15:03:35 -08:00
rebuild_projection.cmd
tsconfig.json

README.md

react-native-xaml

Getting started

$ npm install react-native-xaml --save

Ensure you're using React Native Windows >= 0.69.0.

Ensure your app is using WinUI 2.7+. For details about customizing WinUI versions in your React Native for Windows app, see Customizing SDK versions.

Mostly automatic installation

$ react-native link react-native-xaml

Usage

See the Usage guide for details and lots of examples.

import { HyperlinkButton, } from 'react-native-xaml';

<HyperlinkButton 
  text="Hello from XAML" 
  style={{ width:150, height:40 }} 
  onClick={() => {
    alert("clicked!");
  }} />