Components
Redacted
Redacted adapts SwiftUI's `redacted` modifier into an explicit placeholder or privacy wrapper on the web.
Redacted adapts SwiftUI's `redacted` modifier into an explicit placeholder or privacy wrapper on the web.
Examples
Placeholder
Preview unavailable for this example in the static docs build.
Show code
<VStack spacing={10}>
<Redacted>
<Text>Loading profile</Text>
</Redacted>
<Redacted>
<Text>Recent activity</Text>
</Redacted>
</VStack>Variants
Preview unavailable for this example in the static docs build.
Show code
<Redacted reason="privacy">
<Text>Account balance</Text>
</Redacted>API
| Prop | Type | Required | Description |
|---|---|---|---|
active | boolean | No | No description yet. |
reason | 'placeholder' | 'privacy' | No | No description yet. |
Inherits additional props from IBaseComponent.
Overview
Redacted adapts SwiftUI's redacted modifier into an explicit placeholder or privacy wrapper on the web.
Status: adapted