CloseButtonProps
are no longer exported from types in version 10
#1165
Labels
CloseButtonProps
are no longer exported from types in version 10
#1165
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
CloseButtonProps
were previously exported inindex.ts
in version 9. From version 10 they are missing. One has to import them fromimport type { CloseButtonProps } from 'react-toastify/dist/components';
which is prone to breaking if structure changes.What is the expected behavior?
import type { CloseButtonProps } from 'react-toastify';
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 18.3.1, toastify 10.0.5
The text was updated successfully, but these errors were encountered: