import { Rerun } from "../../keyed/src/index.js"; import { type Component, createSignal } from "solid-js"; import { Transition } from "solid-transition-group"; const App: Component = () => { const [count, setCount] = createSignal(0); return ( <>
{ el.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 600, }).finished.then(done); }} onExit={(el, done) => { el.animate([{ opacity: 1 }, { opacity: 0 }], { duration: 600, }).finished.then(done); }} mode="outin" >
); }; export default App;