Redact
Masks sensitive content with a configurable character, keeping first and last characters visible. Click to toggle visibility.
Import
import { Redact } from 'reablocks';
Redact Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Text to mask |
allowToggle | boolean | true | Allow clicking to reveal/hide content |
compactLength | number | 8 | Number of characters in masked output |
| `charac |
[Description truncada. Veja o README completo no GitHub.]