mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 02:41:53 +08:00
Now the smooth flag works
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user