<CrossedOff>v4.0.490
Draws two animated crossing strokes over the text or element it wraps.
Example
MyComp.tsximport {CrossedOff } from '@remotion/rough-notation'; export constMyComp :React .FC = () => { return ( <CrossedOff progress ={1}color ="#eb2525"strokeWidth ={6}iterations ={10}roughness ={2} > remove </CrossedOff > ); };
API
strokeWidth?
The stroke width in pixels. Default: 20.
iterations?
The number of rough strokes to draw for each diagonal. Default: 1.
rtl?
Draws the strokes right-to-left. Default: false.
Also accepts the common annotation props.
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||