提问人:Birdy 提问时间:7/26/2023 更新时间:7/26/2023 访问量:20
我有一个语法错误,以前不是问题?这在安装 react-router-dom 后发生了一点
I have a syntax error that was not an issue before? This happened a bit after installing react-router-dom
问:
我在下面发布了有问题的代码:
import React from 'react';
import {FaGithub, FaLinkedin, FaCodepen} from 'react-icons/fa';
import {HiOutlineMailOpen} from 'react-icons/hi';
import {BsFillPersonLinesFill} from 'react-icons/bs';
const SocialLinks = () => {
const links = [
{
id:1,
child: (
<>
GitHub <FaGithub size={30}/>
</>
),
href: '(blank for purpose of posting here)',
style: 'rounded-tr-md'
},
{
id:2,
child: (
<>
Codepen <FaCodepen size={30}/>
</>
),
href: '(blank for purpose of posting here)',
},
这是代码中错误的图像:
这在以前是不确定的。请帮我解决这个问题。
答: 暂无答案
评论