Skip to content

Commit bace489

Browse files
committed
docs: corrections to README props
1 parent 26c3efa commit bace489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The timing function (easing) of the sliding effect. The value is passed on as a
8585

8686
```html
8787

88-
<Headroom duration='500ms'>
88+
<Headroom easing='ease-out'>
8989
<!-- my header -->
9090
</Headroom>
9191

@@ -97,7 +97,7 @@ If this is to be pinned to the bottom, like a return to top button. Default: `fa
9797

9898
```html
9999

100-
<Headroom duration='500ms'>
100+
<Headroom bottom>
101101
<!-- my header -->
102102
</Headroom>
103103

@@ -113,7 +113,7 @@ If this is to be pinned to the bottom, like a return to top button. Default: `fa
113113
<!-- my header that will always show when at bottom -->
114114
</Headroom>
115115

116-
<Headroom bottom hideAtTop showAtBottom>
116+
<Headroom bottom hideAtTop showAtBottom tolerance={20} shim={50}>
117117
<!-- footer for 'to top' button -->
118118
</Headroom>
119119

0 commit comments

Comments
 (0)