How to replicate the “as” prop in styled-components without actually using styled-components?

前端 未结 0 579
没有蜡笔的小新
没有蜡笔的小新 2021-01-28 14:57

Consider the below code,

import React from \'react\';
import * as MuiIcons from \'@material-ui/icons\'
import styled from \'styled-components\'

const icons = [\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题