( pendingProps: any, mode: TypeOfMode, lanes: Lanes, key: null | string, )
| 798 | } |
| 799 | |
| 800 | export function createFiberFromSuspense( |
| 801 | pendingProps: any, |
| 802 | mode: TypeOfMode, |
| 803 | lanes: Lanes, |
| 804 | key: null | string, |
| 805 | ): Fiber { |
| 806 | const fiber = createFiber(SuspenseComponent, pendingProps, key, mode); |
| 807 | fiber.elementType = REACT_SUSPENSE_TYPE; |
| 808 | fiber.lanes = lanes; |
| 809 | return fiber; |
| 810 | } |
| 811 | |
| 812 | export function createFiberFromSuspenseList( |
| 813 | pendingProps: any, |
no outgoing calls
no test coverage detected