All Projects → mohakapt → react-native-js-tableview

mohakapt / react-native-js-tableview

Licence: MIT license
A JavaScript implementation for TableView that looks great on both iOS and Android.

Programming Languages

javascript
184084 projects - #8 most used programming language
objective c
16641 projects - #2 most used programming language
Starlark
911 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to react-native-js-tableview

React Native Tableview Simple
Flexible and lightweight React Native component for UITableView made with pure CSS
Stars: ✭ 357 (+1452.17%)
Mutual labels:  uitableview, tableview
Magearrefreshcontrol
An iOS refresh control with gear animation
Stars: ✭ 231 (+904.35%)
Mutual labels:  uitableview, tableview
Aiforms.settingsview
SettingsView for Xamarin.Forms
Stars: ✭ 274 (+1091.3%)
Mutual labels:  uitableview, tableview
Ezplayer
基于AVPlayer封装的视频播放器,功能丰富,快速集成,可定制性强,支持react-native。
Stars: ✭ 377 (+1539.13%)
Mutual labels:  uitableview, tableview
Flow
Declarative approach to populate and manage UITableViews (see https://github.com/malcommac/FlowKit)
Stars: ✭ 421 (+1730.43%)
Mutual labels:  uitableview, tableview
React Native Ezplayer
EZPlayer component for react-native apps
Stars: ✭ 47 (+104.35%)
Mutual labels:  uitableview, tableview
Swipecellkit
A swipeable UITableViewCell or UICollectionViewCell with support for:
Stars: ✭ 5,745 (+24878.26%)
Mutual labels:  uitableview, tableview
Tdbadgedcell
TDBadgedCell is a table view cell class that adds a badge, similar to the badges in Apple's own apps
Stars: ✭ 1,444 (+6178.26%)
Mutual labels:  uitableview, tableview
Imessagestylereveal
Adds iMessage style timestamp support. Written in Swift!
Stars: ✭ 138 (+500%)
Mutual labels:  uitableview
Swiftycomments
UITableView based component designed to display a hierarchy of expandable/foldable comments.
Stars: ✭ 200 (+769.57%)
Mutual labels:  uitableview
Pbtreeview
An UITreeView implementation from UITableView that Apple missed in its UIKit framework. And it is in pure Swift.
Stars: ✭ 128 (+456.52%)
Mutual labels:  uitableview
Eureka
Elegant iOS form builder in Swift
Stars: ✭ 11,345 (+49226.09%)
Mutual labels:  uitableview
Flowkit
A declarative type-safe framework for building fast and flexible list with Tables & Collection
Stars: ✭ 215 (+834.78%)
Mutual labels:  uitableview
Closures
Swifty closures for UIKit and Foundation
Stars: ✭ 1,720 (+7378.26%)
Mutual labels:  uitableview
Tabanimated
A skeleton screen framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
Stars: ✭ 2,909 (+12547.83%)
Mutual labels:  uitableview
Genericdatasource
A generic small reusable components for data source implementation for UITableView/UICollectionView in Swift.
Stars: ✭ 127 (+452.17%)
Mutual labels:  uitableview
Expandable Table View
Expandable UITableView in iOS
Stars: ✭ 180 (+682.61%)
Mutual labels:  uitableview
Reverseextension
A UITableView extension that enables cell insertion from the bottom of a table view.
Stars: ✭ 1,631 (+6991.3%)
Mutual labels:  uitableview
Rglistkit
RGListKit is a Protocol & MVVM based framework to easily populate a UITableView or UICollectionView via single api.
Stars: ✭ 178 (+673.91%)
Mutual labels:  uitableview
Hgplaceholders
Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project
Stars: ✭ 2,048 (+8804.35%)
Mutual labels:  uitableview

react-native-js-tableview

A JavaScript implementation for TableView that looks great on both iOS and Android.

Latest Stable Version NPM Downloads GitHub issues License

"Who wants native components. You spend hours linking 'em, they make your app crash, and they don't work with expo, Yuck!" - Steve Jobs 😄

react-native-js-tableview iOS Screenshot react-native-js-tableview Android Screenshot

Installation

npm i react-native-js-tableview

Or (If you're using yarn):

yarn add react-native-js-tableview

Component API

<Table /> Component API

<Section /> Component API

<Cell /> Component API

<AccessoryCell /> Component API

<StaticCell /> Component API

<KeyValueCell /> Component API

<BioCell /> Component API

<TouchableCell /> Component API

<SwitchCell /> Component API

General Usage

import Table from 'react-native-js-table';

or

const Table = require('react-native-js-table');

This Table component is built so that features in the table (such as Sections, Cells, etc.) are specified as children of the Table itself. This provides an intuitive and react-like API for controlling the features of the table.

Usage

You can check the example in the source code for more detailed information.
For the complete list of available props there are flow annotations and ViewProps for every component. (I will try to provide TypeScript types very soon.)

import Table, { Section, BioCell, StaticCell, TouchableCell } from 'react-native-js-tableview';

const App = () => (
  <Table style={styles.container} accentColor='#4DB6AC' scrollable={true}>
    <Section header='GENERAL' footer='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'>
      <BioCell title='Adam Smith' subtitle='Scottish economist, philosopher, and author.' />
      <StaticCell title='Profile' accessory='disclosure' onPress={() => {}} />
      <StaticCell title='Books' accessory='disclosure' onPress={() => {}} />
      <StaticCell title='Projects' accessory='disclosure' onPress={() => {}} />
    </Section>

    <Section>
      <TouchableCell title='Sign out' onPress={() => {}} />
    </Section>
  </Table>
);

Contributing

If you encounter a bug, or you have a feature in mind please make a pull request, and I will merge it as soon as possible, if you can't (for some reason) make a pull request please open an issue, and I will happily do respond to it.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.
I will try to provide release notes with every release.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].