BPKFieldSet

public struct BPKFieldSet<Content> : View where Content : View

A component which wraps its content (view) and optionally adds a title, description and error label (depending on the field’s state) around it. Supported states are Default, and Error. The states are dispatched to the wrapped view through the .environment modifier.

Use inputState(_ state: State) to change the state of the field set.

Use accessibilityPrefix(_ prefix: String) to add a prefix to each accessibilityIdentifier that gets added to all fieldset’s subcomponents

Accessibility