How to pass JSON as a prop?

前端 未结 0 1270
挽巷
挽巷 2020-11-27 03:06

I have a component that gets 2 props, one is another component and the second is a JSON file:

interface HeaderProps {
  title: ReactElement

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