about summary refs log tree commit diff
path: root/src/view/com/util/Views.d.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-03 14:18:44 -0700
committerGitHub <noreply@github.com>2023-11-03 14:18:44 -0700
commit445f976881429f54758569de69bc4bce3f88c60b (patch)
treea401152888af83c97ae91283c669d65c092424e8 /src/view/com/util/Views.d.ts
parent691af26895bcc2077c062bc5dd3f3ad3381fa51a (diff)
downloadvoidsky-445f976881429f54758569de69bc4bce3f88c60b.tar.zst
Improved list and feed errors (#1798)
* Fix error-state rendering of ProfileList

* Unsave/unpin lists on delete

* Improve handling of failing feedgens

* Only show 'remove' btn on feed DNE
Diffstat (limited to 'src/view/com/util/Views.d.ts')
-rw-r--r--src/view/com/util/Views.d.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/view/com/util/Views.d.ts b/src/view/com/util/Views.d.ts
index 292a985cd..91df1d6bc 100644
--- a/src/view/com/util/Views.d.ts
+++ b/src/view/com/util/Views.d.ts
@@ -1 +1,8 @@
-export {FlatList, ScrollView, View as CenteredView} from 'react-native'
+import React from 'react'
+import {ViewProps} from 'react-native'
+export {FlatList, ScrollView} from 'react-native'
+export function CenteredView({
+  style,
+  sideBorders,
+  ...props
+}: React.PropsWithChildren<ViewProps & {sideBorders?: boolean}>)