@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/react-native.d.ts CHANGED
@@ -234,6 +234,13 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
234
234
  * Style for the header component.
235
235
  */
236
236
  ListHeaderComponentStyle?: StyleProp<ViewStyle> | undefined;
237
+ /**
238
+ * Estimated height of the ListHeaderComponent. Provide this when the expected header height
239
+ * is known before layout so that only the items actually visible below the header are rendered
240
+ * on the initial frame, rather than a full screen's worth of items that are hidden behind it.
241
+ * The measured header size still replaces this value after layout.
242
+ */
243
+ estimatedHeaderSize?: number;
237
244
  /**
238
245
  * If true, auto-scrolls to end when new items are added.
239
246
  * Use an options object to opt into specific triggers and control whether that scroll is animated.
@@ -268,6 +275,12 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
268
275
  * @default 1
269
276
  */
270
277
  numColumns?: number;
278
+ /**
279
+ * Force RTL mode for this list instance.
280
+ * When undefined, uses React Native's global I18nManager.isRTL.
281
+ * @default undefined
282
+ */
283
+ rtl?: boolean;
271
284
  /**
272
285
  * Called when scrolling reaches the end within onEndReachedThreshold.
273
286
  */