(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{701:function(n,t,a){"use strict";a.r(t),a.d(t,"default",function(){return D});var s=a(23),e=a.n(s),o=a(24),c=a.n(o),p=a(25),i=a.n(p),l=a(26),r=a.n(l),u=a(32),d=a.n(u),m=a(27),h=a.n(m),k=a(28),f=a.n(k),g=a(580),y=a.n(g),v=a(0),w=a.n(v),C=a(111),E=a(82),b=function(){return w.a.createElement(E.q,{text:"basic usage"})},z=function(){return w.a.createElement(E.q,{text:"customize usage",onCopySuccess:"Copied!"},w.a.createElement(E.i,{type:"primary"},"Click!"))};function _(n){return w.a.createElement(n.tag,y()({},n.attributes,{dangerouslySetInnerHTML:{__html:n.html}}))}function N(n){return w.a.createElement(_,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function B(n){return w.a.createElement(_,{tag:"style",html:n.style})}var x=function(n){function t(){var n,a;e()(this,t);for(var s=arguments.length,o=new Array(s),c=0;c¶CopyButton\n
Copy button will copy the specified text to the system clipboard when clicked.
\nProperty | \nDescription | \nType | \nDefault | \n
---|---|---|---|
text | \nThe next need to be copied | \nstring \n \n|\n \n() => string | \n\n |
onCopySuccess | \nThe callback function that is triggered when copy successful. If this property is string, it will show in \nNotify.info \n. | \nfunction \n|\n string | \n\'Copied\' | \n
onCopyError | \nThe callback function that is triggered when copy failed. If this property is string, it will show in \nNotify.error \n. | \nfunction \n|\n string | \n\'Copy failed\' | \n