We can create reusable views like CardView confirming to View protocol. Like that how can we create custom reusable text fields?
As we use a TextField provided in SwiftUI like
TextField("Enter your name", text: $name)
Similarly how to create your own reusable TextField with a specific style (cornerRadius, borders)
Example: CustomTextField("Enter your name", text: $name)
