Skip to content

Commit 131cba8

Browse files
style prop type (#60)
Changed style prop type from string to object.
1 parent b5b3882 commit 131cba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ These are all the props you can pass to the `<Spline />` component.
238238
| --------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
239239
| `scene` | `string` | Scene file |
240240
| `className?` | `string` | CSS classes |
241-
| `style?` | `string` | CSS style |
241+
| `style?` | `object` | CSS style |
242242
| `id?` | `string` | Canvas id |
243243
| `ref?` | `React.Ref<HTMLDivElement>` | A ref pointing to canvas element. |
244244
| `onLoad?` | `(spline: Application) => void` | Gets called once the scene has loaded. The `spline` parameter is an instance of the [Spline Application](#spline-app-methods) |

0 commit comments

Comments
 (0)