react-native-xaml/package
Jon Thysell 9f5cddfb74
Update README.md
2024-02-26 11:29:52 -08:00
..
Codegen Fix memory mismanagement bug with EventAttachInfo (#268) 2024-02-02 23:25:18 +00:00
src Upgrade RNX to target RN and RNW 0.72 (#261) 2023-08-02 18:14:56 +00:00
windows RNX v0.0.78 2024-02-26 11:14:46 -08:00
.gitignore Rework the JS. 2021-02-04 11:02:00 -08:00
.npmignore Rework the JS. 2021-02-04 11:02:00 -08:00
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 Upgrade to WinUI 2.7 (#246) 2023-03-01 17:20:08 -08:00
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 script to rebuild projection 2021-09-30 09:45:58 -07:00
tsconfig.json Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00

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!");
  }} />