mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 20:55:06 +08:00
17 lines
434 B
JavaScript
17 lines
434 B
JavaScript
import React from 'react';
|
|
import {t} from 'plugin-api/beta/client/services';
|
|
import {withCopyToClipboard} from 'plugin-api/beta/client/hocs';
|
|
import {Button} from 'plugin-api/beta/client/components/ui';
|
|
|
|
class ButtonCopyToClipboard extends React.Component {
|
|
render () {
|
|
return (
|
|
<Button {...this.props} >
|
|
{t('common.copy')}
|
|
</Button>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default withCopyToClipboard(ButtonCopyToClipboard);
|