Skip to content
المشاريع

حول

عروض SwiftUI حقيقية في React Native.

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+٣١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

SwiftUI React Native

Real SwiftUI views in React Native.
Documentation

Install

npm install swiftui-react-native react-native-nitro-modules
cd ios && pod install

Needs iOS, the New Architecture and React Native 0.80 or newer. With Expo, use a development build.

Usage

import { Text, VStack, compose } from 'swiftui-react-native';

export function Greeting() {
  return (
    <VStack spacing={8}>
      <Text modifiers={compose().font('title').bold()}>Hello</Text>
      <Text modifiers={compose().foregroundStyle('secondary')}>From SwiftUI</Text>
    </VStack>
  );
}

Contributing

Most of the library is generated from Apple's SDK, so files marked Do not edit are overwritten on release. If a generated API is wrong or missing, please open an issue.

License

MIT

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…