The context has one action: setAlert() . It takes in text and type as parameters and set them to the state. After a set time period, the state ...
確定! 回上一頁