mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 20:23:29 +08:00
13 lines
367 B
JavaScript
13 lines
367 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);
|