mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 05:53:44 +08:00
17 lines
395 B
JavaScript
17 lines
395 B
JavaScript
import React from 'react';
|
|
import {Button} from 'coral-ui';
|
|
import t from 'coral-framework/services/i18n';
|
|
import {withCopyToClipboard} from 'coral-framework/hocs';
|
|
|
|
class ButtonCopyToClipboard extends React.Component {
|
|
render () {
|
|
return (
|
|
<Button {...this.props} >
|
|
{t('common.copy')}
|
|
</Button>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default withCopyToClipboard(ButtonCopyToClipboard);
|