mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
fork

Configure Feed

Select the types of activity you want to include in your feed.

add types for `desktopFixedHeight` to `List` (#4356)

* add types for `desktopFixedHeight`

* nit

* accept both `number` and `boolean`

authored by hailey.at and committed by

GitHub af2aaa1f 22858192

+2 -1
+1
src/view/com/util/List.tsx
··· 25 25 onRefresh?: () => void 26 26 onItemSeen?: (item: ItemT) => void 27 27 containWeb?: boolean 28 + desktopFixedHeight?: number | boolean 28 29 sideBorders?: boolean 29 30 // Web only prop to disable a perf optimization (which would otherwise be on). 30 31 disableContentVisibility?: boolean
+1 -1
src/view/com/util/List.web.tsx
··· 22 22 refreshing?: boolean 23 23 onRefresh?: () => void 24 24 onItemSeen?: (item: ItemT) => void 25 - desktopFixedHeight: any // TODO: Better types. 25 + desktopFixedHeight?: number | boolean 26 26 containWeb?: boolean 27 27 sideBorders?: boolean 28 28 disableContentVisibility?: boolean