How do I pass a @State binding to the Content closure of a custom container?

后端 未结 0 453
-上瘾入骨i
-上瘾入骨i 2021-01-28 05:48

I\'m starting to play with custom containers and I\'m stuck trying to send the @State var across. Sample code:

struct ZoomCardView: View {
           


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