Topic: Tooltip : TypeError: Cannot read property '0' of undefined
                  
                  Codinga
                  free
                  asked 6 years ago
                
**Expected behavior**No error**Actual behavior**TypeError: Cannot read property '0' of undefined**Resources (screenshots, code snippets etc.)**
<span className="float-right">
                                                <MDBTooltip
                                                    placement="top"
                                                    tag="a"
                                                    component="i"
                                                    componentClass="fa fa-shopping-cart grey-text ml-3"
                                                    tooltipContent="Ajouter au panier" />
                                                <MDBTooltip
                                                    placement="top"
                                                    tag="a"
                                                    component="i"
                                                    componentClass="fa fa-eye grey-text ml-3"
                                                    tooltipContent="Voir les détails" />
                                            </span>
                
                  
                      
                      Jakub Mandra
                      staff
                        answered 6 years ago
                    
Hi,
Tooltips and popovers were completely rebuilt in version 4.12.0 (complete changelog) and their syntax has changed.
Please follow the actual documentation here: https://mdbootstrap.com/docs/react/advanced/tooltips/
Best,
Jakub
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
 - Premium support: No
 - Technology: MDB React
 - MDB Version: 4.13.0
 - Device: Mac os
 - Browser: Chrome
 - OS: Mac os
 - Provided sample code: No
 - Provided link: No