MCPcopy Index your code
hub / github.com/dataease/SQLBot / CopyToClipboard

Function CopyToClipboard

frontend/public/swagger-ui-bundle.js:16578–16603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16576 })(CopyToClipboard, s)
16577 var o = _createSuper(CopyToClipboard)
16578 function CopyToClipboard() {
16579 var s
16580 !(function _classCallCheck(s, o) {
16581 if (!(s instanceof o)) throw new TypeError('Cannot call a class as a function')
16582 })(this, CopyToClipboard)
16583 for (var i = arguments.length, _ = new Array(i), w = 0; w < i; w++)
16584 _[w] = arguments[w]
16585 return (
16586 _defineProperty(
16587 _assertThisInitialized((s = o.call.apply(o, [this].concat(_)))),
16588 'onClick',
16589 function (o) {
16590 var i = s.props,
16591 _ = i.text,
16592 w = i.onCopy,
16593 x = i.children,
16594 C = i.options,
16595 j = a.default.Children.only(x),
16596 L = (0, u.default)(_, C)
16597 ;(w && w(_, L),
16598 j && j.props && 'function' == typeof j.props.onClick && j.props.onClick(o))
16599 }
16600 ),
16601 s
16602 )
16603 }
16604 return (
16605 (function _createClass(s, o, i) {
16606 return (

Callers

nothing calls this directly

Calls 4

_definePropertyFunction · 0.85
_assertThisInitializedFunction · 0.85
concatMethod · 0.80
wFunction · 0.70

Tested by

no test coverage detected