Lines Matching refs:forwardRef
1 import React, { ComponentType, forwardRef } from 'react';
9 export const P = forwardRef(({ style, ...props }: TextProps, ref) => {
13 export const B = forwardRef(({ style, ...props }: TextProps, ref) => {
17 export const S = forwardRef(({ style, ...props }: TextProps, ref) => {
21 export const I = forwardRef(({ style, ...props }: TextProps, ref) => {
25 export const Q = forwardRef(({ children, cite, style, ...props }: QuoteProps, ref) => {
33 export const BlockQuote = forwardRef(({ style, cite, ...props }: BlockQuoteProps, ref) => {
37 export const BR = forwardRef(({ style, ...props }: TextProps, ref) => {
41 export const Mark = forwardRef(({ style, ...props }: TextProps, ref) => {
45 export const Code = forwardRef(({ style, ...props }: TextProps, ref) => {
55 export const Pre = forwardRef((props: PreProps, ref: any) => {
63 export const Time = forwardRef(({ dateTime, ...props }: TimeProps, ref) => {