-
-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Description
If you add a key prop to CToast (e.g. mapping a list of toasts) this warning will show in the console:
key is not a prop. Trying to access it will result in undefined being returned.
As you can see CToast attempts to read and forward the key prop. This should be a differently named prop instead.
It's also not typed correctly. keys are numbers or strings
| key?: number |
| key: PropTypes.number, |
Metadata
Metadata
Assignees
Labels
No labels