diff --git a/clip/ClipElement.tsx b/clip/ClipElement.tsx index 819f803..2ab15a5 100644 --- a/clip/ClipElement.tsx +++ b/clip/ClipElement.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { View, Text } from 'react-native'; +import { View, Text, Clipboard } from 'react-native'; import IconVector from 'react-native-vector-icons/FontAwesome5'; export default class ClipElement extends React.Component { @@ -11,7 +11,7 @@ export default class ClipElement extends React.Component { render(): JSX.Element { return {this.props.title} - + Clipboard.setString(this.props.title)} /> ; } } \ No newline at end of file