dcd-fast-list
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

fast-list

A fast list implementation for React Native with a RecyclerView style API.

Barebones example:

    // @ts-ignore (AUTO)
    const renderRow = (section, row) => {
      const userId = results[row];
      return <Row userId={userId} />;
    };

    content = (
      <FastList
        style={[styles.flex, {marginBottom: keyboardHeight}]}
        contentContainerStyle={{paddingBottom: keyboardHeight === 0 ? SAFE_AREA_BOTTOM : 0}}
        rowHeight={55}
        // @ts-ignore (AUTO)
        renderRow={renderRow}
        keyboardShouldPersistTaps="always"
        sections={[results.length]}
      />

Package Sidebar

Install

npm i dcd-fast-list

Weekly Downloads

12

Version

1.0.13

License

MIT

Unpacked Size

584 kB

Total Files

17

Last publish

Collaborators

  • mrkcsc
  • jonwu