mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
use react-spring native
This commit is contained in:
@@ -18,6 +18,7 @@ export default function TodosContainer(props) {
|
||||
return (
|
||||
<ul id="list">
|
||||
<Transition
|
||||
native
|
||||
keys={props.todos.map(todo => todo.id)}
|
||||
from={{ maxHeight: 0 }}
|
||||
enter={{ maxHeight: 100 }}
|
||||
|
||||
Reference in New Issue
Block a user