Lines Matching refs:ref

9 export const P = forwardRef(({ style, ...props }: TextProps, ref) => {
10 return <Text {...props} style={[styles.p, style]} ref={ref} />;
13 export const B = forwardRef(({ style, ...props }: TextProps, ref) => {
14 return <Text {...props} style={[styles.b, style]} ref={ref} />;
17 export const S = forwardRef(({ style, ...props }: TextProps, ref) => {
18 return <Text {...props} style={[styles.s, style]} ref={ref} />;
21 export const I = forwardRef(({ style, ...props }: TextProps, ref) => {
22 return <Text {...props} style={[styles.i, style]} ref={ref} />;
25 export const Q = forwardRef(({ children, cite, style, ...props }: QuoteProps, ref) => {
27 <Text {...props} style={[styles.q, style]} ref={ref}>
33 export const BlockQuote = forwardRef(({ style, cite, ...props }: BlockQuoteProps, ref) => {
34 return <View {...props} style={[styles.blockQuote, style]} ref={ref} />;
37 export const BR = forwardRef(({ style, ...props }: TextProps, ref) => {
38 return <Text {...props} style={[styles.br, style]} ref={ref} />;
41 export const Mark = forwardRef(({ style, ...props }: TextProps, ref) => {
42 return <Text {...props} style={[styles.mark, style]} ref={ref} />;
45 export const Code = forwardRef(({ style, ...props }: TextProps, ref) => {
46 return <Text {...props} style={[styles.code, style]} ref={ref} />;
55 export const Pre = forwardRef((props: PreProps, ref: any) => {
57 return <Text {...props} style={[styles.code, styles.pre, props.style]} ref={ref} />;
59 return <View {...props} style={[styles.pre, props.style]} ref={ref} />;
63 export const Time = forwardRef(({ dateTime, ...props }: TimeProps, ref) => {
64 return <Text {...props} ref={ref} />;