(props)
| 21 | } |
| 22 | |
| 23 | function Example(props) { |
| 24 | return ( |
| 25 | <div className="text-center"> |
| 26 | <Button id="ScheduleUpdateTooltip">Click me</Button> |
| 27 | <UncontrolledTooltip |
| 28 | placement="top" |
| 29 | target="ScheduleUpdateTooltip" |
| 30 | trigger="click" |
| 31 | > |
| 32 | {({ scheduleUpdate }) => ( |
| 33 | <TooltipContent scheduleUpdate={scheduleUpdate} /> |
| 34 | )} |
| 35 | </UncontrolledTooltip> |
| 36 | </div> |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | TooltipContent.propTypes = { |
| 41 | scheduleUpdate: PropTypes.func, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…