Showing
1 changed file
with
19 additions
and
0 deletions
| @@ -21,6 +21,9 @@ export default class Discover extends Component { | @@ -21,6 +21,9 @@ export default class Discover extends Component { | ||
| 21 | date: {} | 21 | date: {} |
| 22 | }; | 22 | }; |
| 23 | } | 23 | } |
| 24 | + handleCopyPress(string) { | ||
| 25 | + Clipboard.setString(string); | ||
| 26 | + } | ||
| 24 | componentWillMount() { | 27 | componentWillMount() { |
| 25 | this.getImages(); | 28 | this.getImages(); |
| 26 | } | 29 | } |
| @@ -136,6 +139,22 @@ const styles = StyleSheet.create({ | @@ -136,6 +139,22 @@ const styles = StyleSheet.create({ | ||
| 136 | backgroundColor: "rgba(255,255,255,0)", | 139 | backgroundColor: "rgba(255,255,255,0)", |
| 137 | flexDirection: "row", | 140 | flexDirection: "row", |
| 138 | justifyContent: "center", | 141 | justifyContent: "center", |
| 142 | + alignItems: "center" | ||
| 143 | + }, | ||
| 144 | + word: { | ||
| 145 | + marginLeft: 15, | ||
| 146 | + marginRight: 15, | ||
| 147 | + fontSize: 15, | ||
| 148 | + lineHeight: 25, | ||
| 149 | + color: "white", | ||
| 150 | + backgroundColor: "rgba(0,0,0,0)" | ||
| 151 | + }, | ||
| 152 | + button: { | ||
| 153 | + width: 80, | ||
| 154 | + height: 40, | ||
| 155 | + marginTop: 20, | ||
| 156 | + backgroundColor: "rgba(0,0,0,0.2)", | ||
| 157 | + justifyContent: "center", | ||
| 139 | alignItems: "center", | 158 | alignItems: "center", |
| 140 | position: "absolute", | 159 | position: "absolute", |
| 141 | bottom: 150, | 160 | bottom: 150, |
-
Please register or login to post a comment