UNPKG

@ramses-superapp/ramses-ui

Version:

Skinless UI primitives for Ramses Built Apps

23 lines (22 loc) 509 B
"use strict"; import { forwardRef } from 'react'; import { Text } from 'react-native'; import { jsx as _jsx } from "react/jsx-runtime"; const RsText = /*#__PURE__*/forwardRef(({ text, children, style, numberOfLines, selectable }, ref) => { return /*#__PURE__*/_jsx(Text, { ref: ref, style: style, numberOfLines: numberOfLines, selectable: selectable, children: children ?? text }); }); RsText.displayName = 'RsText'; export default RsText; //# sourceMappingURL=RsText.js.map