Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update basics.mdx
  • Loading branch information
christiannwamba authored Feb 9, 2019
commit 8f4188997f65dd2c507df4f002ff7550467cece9
8 changes: 4 additions & 4 deletions documentation/basics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ return (
<animated.div
style={{
transform: props.x
.interpolate(
[0, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 1],
[1, 0.97, 0.9, 1.1, 0.9, 1.1, 1.03, 1]
)
.interpolate({
range: [0, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 1],
output: [1, 0.97, 0.9, 1.1, 0.9, 1.1, 1.03, 1]
})
.interpolate(x => `scale(${x})`)
}} />
)
Expand Down