react-native-xaml/package
Jon Thysell 9f5cddfb74
Update README.md
2024-02-26 11:29:52 -08:00
..
Codegen
src
windows RNX v0.0.78 2024-02-26 11:14:46 -08:00
.gitignore
.npmignore
CHANGELOG.json RNX v0.0.78 2024-02-26 11:14:46 -08:00
CHANGELOG.md RNX v0.0.78 2024-02-26 11:14:46 -08:00
LICENSE
README.md Update README.md 2024-02-26 11:29:52 -08:00
package.json RNX v0.0.78 2024-02-26 11:14:46 -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!");
  }} />