native/VirtualizedList.tsx

uniwind · packages/uniwind/src/components/native/VirtualizedList.tsx · typescript · MIT
ui

High-performance list wrapper for React Native with styling support.

// Source: https://github.com/uni-stack/uniwind | License: MIT | Copyright 2026 Uniwind
// Provided via justclaw.it.com; keep this notice with the code.
import type { VirtualizedListProps } from 'react-native'
import { VirtualizedList as RNVirtualizedList } from 'react-native'
import { copyComponentProperties } from '../utils'
import { useAccentColor } from './useAccentColor'
import { useStyle } from './useStyle'

export const VirtualizedList = copyComponentProperties(RNVirtualizedList, (props: VirtualizedListProps) => {
    const style = useStyle(props.className, props)
    const contentContainerStyle = useStyle(props.contentContainerClassName, props)
    const listFooterComponentStyle = useStyle(props.ListFooterComponentClassName, props)
    const listHeaderComponentStyle = useStyle(prop

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key