@legendapp/list 3.0.0-beta.54 → 3.0.0-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animated.d.ts +13 -0
- package/index.d.ts +17 -0
- package/index.js +333 -81
- package/index.mjs +333 -81
- package/index.native.js +255 -59
- package/index.native.mjs +256 -60
- package/package.json +1 -1
- package/react-native.d.ts +13 -0
- package/react-native.js +255 -59
- package/react-native.mjs +256 -60
- package/react-native.web.d.ts +13 -0
- package/react-native.web.js +333 -81
- package/react-native.web.mjs +333 -81
- package/react.d.ts +13 -0
- package/react.js +333 -81
- package/react.mjs +333 -81
- package/reanimated.d.ts +13 -0
- package/section-list.d.ts +13 -0
package/react.d.ts
CHANGED
|
@@ -257,6 +257,13 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
|
|
|
257
257
|
* Style for the header component.
|
|
258
258
|
*/
|
|
259
259
|
ListHeaderComponentStyle?: StyleProp<ViewStyle> | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* Estimated height of the ListHeaderComponent. Provide this when the expected header height
|
|
262
|
+
* is known before layout so that only the items actually visible below the header are rendered
|
|
263
|
+
* on the initial frame, rather than a full screen's worth of items that are hidden behind it.
|
|
264
|
+
* The measured header size still replaces this value after layout.
|
|
265
|
+
*/
|
|
266
|
+
estimatedHeaderSize?: number;
|
|
260
267
|
/**
|
|
261
268
|
* If true, auto-scrolls to end when new items are added.
|
|
262
269
|
* Use an options object to opt into specific triggers and control whether that scroll is animated.
|
|
@@ -291,6 +298,12 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
|
|
|
291
298
|
* @default 1
|
|
292
299
|
*/
|
|
293
300
|
numColumns?: number;
|
|
301
|
+
/**
|
|
302
|
+
* Force RTL mode for this list instance.
|
|
303
|
+
* When undefined, uses React Native's global I18nManager.isRTL.
|
|
304
|
+
* @default undefined
|
|
305
|
+
*/
|
|
306
|
+
rtl?: boolean;
|
|
294
307
|
/**
|
|
295
308
|
* Called when scrolling reaches the end within onEndReachedThreshold.
|
|
296
309
|
*/
|