(props)
| 31 | }; |
| 32 | |
| 33 | function TooltipExampleMulti(props) { |
| 34 | return ( |
| 35 | <> |
| 36 | {[ |
| 37 | { |
| 38 | placement: 'top', |
| 39 | text: 'Tooltip on Top', |
| 40 | }, |
| 41 | { |
| 42 | placement: 'bottom', |
| 43 | text: 'Tooltip on Bottom', |
| 44 | }, |
| 45 | { |
| 46 | placement: 'left', |
| 47 | text: 'Tooltip on Left', |
| 48 | }, |
| 49 | { |
| 50 | placement: 'right', |
| 51 | text: 'Tooltip on Right', |
| 52 | }, |
| 53 | ].map((tooltip, i) => { |
| 54 | // eslint-disable-next-line react/no-array-index-key |
| 55 | return <TooltipItem key={i} item={tooltip} id={`Tooltip-${i}`} />; |
| 56 | })} |
| 57 | </> |
| 58 | ); |
| 59 | } |
| 60 | |
| 61 | export default TooltipExampleMulti; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…