Added Copy button
This commit is contained in:
parent
13579385c8
commit
7db1a7e3d3
@ -1,5 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View, Text } from 'react-native';
|
import { View, Text } from 'react-native';
|
||||||
|
import IconVector from 'react-native-vector-icons/FontAwesome5';
|
||||||
|
|
||||||
export default class ClipElement extends React.Component<any, any> {
|
export default class ClipElement extends React.Component<any, any> {
|
||||||
|
|
||||||
@ -8,8 +9,9 @@ export default class ClipElement extends React.Component<any, any> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render(): JSX.Element {
|
render(): JSX.Element {
|
||||||
return <View>
|
return <View style={{flex:1,margin:10,flexDirection:'row',justifyContent:'space-between',alignItems:'center'}}>
|
||||||
<Text>{this.props.title}</Text>
|
<Text style={{fontSize:20,}}>{this.props.title}</Text>
|
||||||
|
<IconVector name="clipboard" size={40} />
|
||||||
</View>;
|
</View>;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user