1import { forwardRef } from 'react'; 2import { StyleSheet } from 'react-native'; 3import createElement from 'react-native-web/dist/exports/createElement'; 4export const P = forwardRef(({ style, ...props }, ref) => { 5 return createElement('p', { ...props, style: [styles.reset, style], ref }); 6}); 7export const B = forwardRef(({ style, ...props }, ref) => { 8 return createElement('b', { ...props, style: [styles.reset, style], ref }); 9}); 10export const S = forwardRef(({ style, ...props }, ref) => { 11 return createElement('s', { ...props, style: [styles.reset, style], ref }); 12}); 13export const Del = forwardRef(({ style, ...props }, ref) => { 14 return createElement('del', { ...props, style: [styles.reset, style], ref }); 15}); 16export const Strong = forwardRef(({ style, ...props }, ref) => { 17 return createElement('strong', { ...props, style: [styles.reset, style], ref }); 18}); 19export const I = forwardRef(({ style, ...props }, ref) => { 20 return createElement('i', { ...props, style: [styles.reset, style], ref }); 21}); 22export const Q = forwardRef(({ style, ...props }, ref) => { 23 return createElement('q', { ...props, style: [styles.reset, style], ref }); 24}); 25export const BlockQuote = forwardRef(({ style, ...props }, ref) => { 26 return createElement('blockquote', { ...props, style: [styles.reset, style], ref }); 27}); 28export const EM = forwardRef(({ style, ...props }, ref) => { 29 return createElement('em', { ...props, style: [styles.reset, style], ref }); 30}); 31export const BR = forwardRef((props, ref) => { 32 return createElement('br', { ...props, ref }); 33}); 34export const Small = forwardRef(({ style, ...props }, ref) => { 35 return createElement('small', { ...props, style: [styles.reset, style], ref }); 36}); 37export const Mark = forwardRef(({ style, ...props }, ref) => { 38 return createElement('mark', { ...props, style: [styles.reset, style], ref }); 39}); 40export const Code = forwardRef((props, ref) => { 41 return createElement('code', { ...props, ref }); 42}); 43export const Time = forwardRef(({ style, ...props }, ref) => { 44 return createElement('time', { ...props, style: [styles.reset, style], ref }); 45}); 46export const Pre = forwardRef(({ style, ...props }, ref) => { 47 return createElement('pre', { ...props, style: [styles.reset, style], ref }); 48}); 49const styles = StyleSheet.create({ 50 reset: { 51 fontFamily: 'System', 52 color: '#000', 53 border: '0 solid black', 54 boxSizing: 'border-box', 55 // @ts-ignore: inline is not supported 56 display: 'inline', 57 margin: 0, 58 padding: 0, 59 whiteSpace: 'pre-wrap', 60 wordWrap: 'break-word', 61 }, 62}); 63//# sourceMappingURL=_Text.web.js.map