我正在尝试使用 agnoster 主题拉皮条客我的 VS Code 集成终端,但我遇到了一个小问题。它已安装,但符号未正确显示,并且颜色条末端的箭头被切断。此外,文本字体都被拉得太远了。我该如何解决?由于声誉点,我无法附上说明问题的屏幕截图...
干杯!
我不知道该如何处理这个错误。东西仍然编译成功,但我的 div 内的内容仍然不会显示在浏览器中:
([ts] 类型 '(tag:any) => { (...args:any[]):any; withConfig(config:any): ...; attrs(attrs:任何):...;}'。[2339])
我在这里做错了什么?
let iconNames = []
for (let index = 0; index < icons.length; index++) {
iconNames.push(icons[index]["name"])
}
//align-items, for verticle
//justify-items, for horizontal
const Container = styled.div ` // <== error is on this line here
height: 100%;
display: grid;
align-items: center;
justify-items: center;
`
// Define type of property
interface Props {
name: string;
}
interface State {
svg: any;
}
Run Code Online (Sandbox Code Playgroud)