Skip to content

Commit cc64259

Browse files
committed
docs(properties): viewbox
1 parent f2f058b commit cc64259

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ Defaults to `400`. It will be set in the viewbox attr in the `<svg
144144

145145
Defaults to `130`. It will be set in the viewbox attr in the `<svg />`.
146146

147+
#### **`viewBox?: string`**
148+
149+
Use viewBox props to set a custom viewBox value. Additionally, pass viewBox props as empty string to remove viewBox.
150+
147151
#### **`gradientRatio? number`** - _Web only_
148152

149153
Defaults to `2`. Width of the animated gradient as a fraction of the viewbox width.

0 commit comments

Comments
 (0)