Hooks are supported in @types/react from v16.8 up. ... Solution to the above example. Copy. function DelayedEffect(props: { timerMs: number }) {.
確定! 回上一頁