MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / TooltipExampleMulti

Function TooltipExampleMulti

stories/examples/Tooltip/DirectionsExample.js:33–59  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

31};
32
33function 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
61export default TooltipExampleMulti;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…