mirror of
https://github.com/zhigang1992/react-native-chat-ui.git
synced 2026-01-12 22:50:15 +08:00
Update user type
This commit is contained in:
@@ -112,10 +112,7 @@ const App = () => {
|
||||
onFilePress={handleFilePress}
|
||||
onPreviewDataFetched={handlePreviewDataFetched}
|
||||
onSendPress={handleSendPress}
|
||||
user={{
|
||||
id: '06c33e8b-e835-4736-80f4-63f44b66666c',
|
||||
name: 'Alex',
|
||||
}}
|
||||
user={{ id: '06c33e8b-e835-4736-80f4-63f44b66666c' }}
|
||||
/>
|
||||
</SafeAreaProvider>
|
||||
)
|
||||
|
||||
@@ -94,6 +94,8 @@ export interface ThemeFonts {
|
||||
}
|
||||
|
||||
export interface User {
|
||||
avatarUrl?: string
|
||||
firstName?: string
|
||||
id: string
|
||||
name: string
|
||||
lastName?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user