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

Function Example

stories/examples/Popover/Update.js:34–51  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

32}
33
34function Example(props) {
35 return (
36 <div className="text-center">
37 <Button id="ScheduleUpdateButton" type="button">
38 Open Popover
39 </Button>
40 <UncontrolledPopover
41 trigger="click"
42 placement="top"
43 target="ScheduleUpdateButton"
44 >
45 {({ scheduleUpdate }) => (
46 <PopoverContent scheduleUpdate={scheduleUpdate} />
47 )}
48 </UncontrolledPopover>
49 </div>
50 );
51}
52
53PopoverContent.propTypes = {
54 scheduleUpdate: PropTypes.func,

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…