📜  sanity api调用html代码示例

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

代码示例1
// example with props

const Contact = ({ sanityName }) => {
  return (
      {sanityName.length > 0
        ? sanityName.map((sanityItem, id) => (
            

{sanityItem.sanityTitle}

{sanityItem.sanityText}

{sanityItem.sanityImage}
export default Contact