about summary refs log tree commit diff
path: root/src/view/com/util/List.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-06-05 09:03:40 -0700
committerGitHub <noreply@github.com>2024-06-05 09:03:40 -0700
commitaf2aaa1f39137c7e1e4926efaa6540942f607cf4 (patch)
tree89fecbfa5e0e19559841d08ac362bed09a9dac63 /src/view/com/util/List.tsx
parent22858192dc5848cf75fb48fa911c8a9bbf08dbaa (diff)
downloadvoidsky-af2aaa1f39137c7e1e4926efaa6540942f607cf4.tar.zst
add types for `desktopFixedHeight` to `List` (#4356)
* add types for `desktopFixedHeight`

* nit

* accept both `number` and `boolean`
Diffstat (limited to 'src/view/com/util/List.tsx')
-rw-r--r--src/view/com/util/List.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx
index 22d094912..ed43ed5f0 100644
--- a/src/view/com/util/List.tsx
+++ b/src/view/com/util/List.tsx
@@ -25,6 +25,7 @@ export type ListProps<ItemT> = Omit<
   onRefresh?: () => void
   onItemSeen?: (item: ItemT) => void
   containWeb?: boolean
+  desktopFixedHeight?: number | boolean
   sideBorders?: boolean
   // Web only prop to disable a perf optimization (which would otherwise be on).
   disableContentVisibility?: boolean