Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. import React, { Component } from 'react'
  2. import { Text, View, TextInput } from 'react-native'
  3.  
  4. export default class create extends Component {
  5. constructor(props){
  6. super(props)
  7.  
  8. this.state = {
  9. category_id : "",
  10. nama : "",
  11. pic : "",
  12. anggota : "",
  13. notes : "",
  14. jenis_task : "",
  15. tindak_lanjut : "",
  16. task_start : "",
  17. task_end : "",
  18. task_date : "",
  19. task_due : ""
  20. }
  21. }
  22.  
  23. render() {
  24. return (
  25. <View style={{padding: 30}}>
  26. <TextInput
  27. style={{borderColor: "#CCC", borderWidth: 1, height: 30, paddingVertical: 5, paddingHorizontal: 10}}
  28. placeholder="Nama"
  29. />
  30. </View>
  31. )
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement