Overview
TheVirtualizedList component is the base implementation for FlatList and SectionList, providing highly performant list rendering. Uniwind provides className prop support for styling various parts of this component.
Styling Convention
For
style props: Use regular Tailwind classes directly (e.g., className="p-4").For non-style props (like color): Use the accent- prefix (e.g., colorClassName="accent-blue-500").Uniwind Bindings
Maps to the
contentContainerStyle prop. Use regular Tailwind classes (no accent- prefix needed).Maps to the
ListFooterComponentStyle prop. Use regular Tailwind classes (no accent- prefix needed).Maps to the
ListHeaderComponentStyle prop. Use regular Tailwind classes (no accent- prefix needed).