You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,12 +57,20 @@ import { RoughSVG } from "react-rough-fiber";
57
57
```
58
58
59
59
- containerType = 'div': The type of container to use for the `RoughSVG`. Optional.
60
-
- options: RoughOptions | ((shape: SVGShape, props: React.HTMLAttributes<SVGElement>) => RoughOptions = {}. It can be a `RoughOptions` for [Rough.js](https://github.com/rough-stuff/rough/wiki#options). Also support a function that returns `RoughOptions`. Optional
60
+
- options: RoughOptions | ((shape: SVGShape, props: React.HTMLAttributes<SVGElement>) => RoughOptions = {}. It can be a `RoughOptions` for [Rough.js](https://github.com/rough-stuff/rough/wiki#options). Also support a function that returns `RoughOptions`. Optional.
61
61
62
62
### WCRoughSVG
63
63
64
64
> `WCRoughSVG` is only compatible with React version 18.0.0 or later.
If you want to use context in `RoughSVG`, you can use `WCRoughSVG` instead of `RoughSVG`. See [FAQ](https://react-rough-fiber.amind.app/faq) for more details.
67
75
68
76
All parameters of `WCRoughSVG` are identical to `RoughSVG`.
0 commit comments