Skip to content

Commit 0194815

Browse files
authored
Update README.md (#120)
1 parent bee56af commit 0194815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ The following are all props that can be passed to the `<Parallax>` component:
8888

8989
| Name | Type | Default | Description |
9090
| -------------- | :-----------------------------: | :------- | ------------------------------------------------------------------------------------------------------------------ |
91-
| **x** | `Array` of `String` or `Number` | `[0, 0]` | Offsets on x-axis in `%` or `px`. If no unit is passed percent is assumed. Percent is based on the elements width. |
92-
| **y** | `Array` of `String` or `Number` | `[0, 0]` | Offsets on y-axis in `%` or `px`. If no unit is passed percent is assumed. Percent is based on the elements width. |
91+
| **x** | `Array` of `String` or `Number` | `[0, 0]` | Initial and final offsets on x-axis in `%` or `px`. If no unit is passed percent is assumed. Percent is based on the elements width. |
92+
| **y** | `Array` of `String` or `Number` | `[0, 0]` | Initial and final offsets on y-axis in `%` or `px`. If no unit is passed percent is assumed. Percent is based on the elements width. |
9393
| **className** | `String` | | Optionally pass additional class names to be added to the outermost parallax element. |
9494
| **disabled** | `Boolean` | `false` | Disables parallax effects on individual elements when `true`. |
9595
| **styleInner** | `Object` | | Optionally pass a style object to be added to the innermost parallax element. |

0 commit comments

Comments
 (0)