📌  相关文章
📜  Uncaught TypeError: children is not a function at InfiniteLoader.render - 不管是什么代码示例

📅  最后修改于: 2022-03-11 14:59:29.007000             🧑  作者: Mango

代码示例1
To use render function pattern you need to modified your child component as

import React from "react"
import Layout from '../components/layout'

export default () => {
    return (
        
            {props => (

{props.title}

)}
) }