I want to access the parent of my custom view to know whether my view parent is a HStack or VStack, like Divider() could do it. Currently I am hard coding value, but my goal is that I could be get access the parent information inside my custom view to select the right return view.

```
struct ContentView: View {
    var body: some View {

        HStack { Divider() }

        VStack { Divider() }

        HStack { CustomView(parentIsHStack: true) }

        VStack { CustomView(parentIsHStack: false) }
    }
}

struct CustomView: View {

    let parentIsHStack: Bool

    var body: some View {

        if parentIsHStack {
            Text("Parent is HStack")
        }
        else {
            Text("Parent is VStack")
        }
    }
}

```