-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3361df2
commit 7afc030
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import { | ||
faCalendarAlt, | ||
faGlobe, | ||
faImage, | ||
faPollH, | ||
faSmile, | ||
} from '@fortawesome/free-solid-svg-icons'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome'; | ||
import React from 'react'; | ||
|
||
import { Image, Text, TextInput, TouchableOpacity, View } from '@/ui'; | ||
|
||
export default function Compose() { | ||
return ( | ||
<View className="my-auto w-full"> | ||
<View className="w-full rounded-xl"> | ||
<View className="flex flex-row p-4"> | ||
<View id="imagee"> | ||
<Image | ||
className="h-10 w-10 rounded-full" | ||
source={{ | ||
uri: 'https://avatars.githubusercontent.com/u/56934023?v=4', | ||
}} | ||
/> | ||
</View> | ||
<View id="textee" className="ml-3 flex w-full flex-col"> | ||
<TextInput | ||
placeholder="What's happening?" | ||
className="h-32 w-full resize-none text-xl outline-none" | ||
/> | ||
|
||
<TouchableOpacity className="-ml-4 pr-12 text-blue-400"> | ||
<Text className="inline rounded-full bg-blue-100 px-4 py-3"> | ||
<FontAwesomeIcon icon={faGlobe} /> Everyone can reply | ||
</Text> | ||
</TouchableOpacity> | ||
</View> | ||
</View> | ||
<View className="flex flex-row items-center justify-between border-t border-gray-500 p-2 text-blue-400"> | ||
<View className="flex flex-row pl-12"> | ||
<TouchableOpacity className="flex items-center justify-center rounded-full bg-blue-100 p-3"> | ||
<FontAwesomeIcon icon={faImage} /> | ||
</TouchableOpacity> | ||
<TouchableOpacity className="flex items-center justify-center rounded-full bg-blue-100 p-3"> | ||
<FontAwesomeIcon icon={faPollH} /> | ||
</TouchableOpacity> | ||
<TouchableOpacity className="flex items-center justify-center rounded-full bg-blue-100 p-3"> | ||
<FontAwesomeIcon icon={faSmile} /> | ||
</TouchableOpacity> | ||
<TouchableOpacity className="flex items-center justify-center rounded-full bg-blue-100 p-3"> | ||
<FontAwesomeIcon icon={faCalendarAlt} /> | ||
</TouchableOpacity> | ||
</View> | ||
<View> | ||
<Text className="inline rounded-full bg-blue-300 px-4 py-3 font-bold text-white"> | ||
Tweet | ||
</Text> | ||
</View> | ||
</View> | ||
</View> | ||
</View> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './add-snap'; | ||
export * from './compose'; | ||
export * from './list'; | ||
export * from './snap'; |