Hello, im trying to use <Toast />
const toastx = useRef(null)
<Toast ref={toastx} />
but when i log the ref i cant find method replace, any idea what happen here ?
here is the console result
{
"toastx": {
"current": {clear: f(), show: f()}
}
}
thanks
Cant find replace function on toast ref
Works fine on 8.4.0 see my Code Sandbox: https://codesandbox.io/s/primereact-tes ... c/index.js
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests