27 Commits

Author SHA1 Message Date
Saleel S
3c7026793e Rename components to FlatGrid and SectionGrid 2019-01-19 21:04:02 +04:00
Saleel S
10e5f638d4 Refactor SuperGrid, move style calculations to utils 2019-01-19 18:27:02 +04:00
Saleel
953c41b3e4 Change renderItem API to match like FlatList 2018-12-07 23:08:58 +05:30
Saleel
49089aac6f Improve dimension calculation on prop change, use single function to render oth horizontal and vertical rows 2018-12-07 23:07:09 +05:30
Carlo Lucadei
78f86e3d0a Added itemContainerStyle prop 2018-07-19 14:33:16 +02:00
Antoine Taillefer
d2c225224b Add onLayout callback prop 2018-07-05 16:49:56 +02:00
Anderson Addo
ad36660512 Fixed a minor typo 2018-06-07 17:47:14 -04:00
Anderson Addo
e9b447ac73 Forgot to add some things to my indexing solution 2018-06-07 10:23:05 -04:00
Anderson Addo
17791cd293 Improved the indexing of the Grid Flatlist
I also added some comments to the codebase to make it more digestible
2018-06-07 10:18:33 -04:00
Anderson Addo
790ad0f555 Corrected the SuperGridSectionList import statement 2018-04-28 07:23:42 +00:00
Anderson Addo
48c2bf64a5 Added a new class that makes a Grid SectionView
Some testing needed, but I essentially just removed the hroizontal option from the code, replaced the FlatList witht he SectionList and added the renderSectionHeader prop.
2018-04-22 16:21:20 +00:00
Saleel S
6c7d9cb470 Fix spacing 2018-03-17 12:49:44 +04:00
Saleel S
553daa7205 Use FlatList instead of ListView 2018-03-10 23:52:03 +04:00
Saleel S
f71df1b295 Allow dynamic update of itemDimension 2018-01-11 18:16:11 +04:00
Manny Colon
17b7763d8d Update index.js 2017-12-11 01:16:54 -05:00
Saleel S
a86b4d00c7 Add itemWidth prop to make new version backward compatible 2017-12-02 12:49:29 +05:30
Saleel S
24f6c6ff5c Linting 2017-12-02 12:40:02 +05:30
Hamza Sharawi
df6dfe4a64 fixes on code 2017-11-14 13:30:23 +02:00
Hamza Sharawi
ae7746dba4 saber 2017-11-13 13:21:03 +02:00
Hamza Sharawi
f6951e6e03 fix 2017-11-13 13:14:51 +02:00
Hamza Sharawi
33e52b2957 add ability to have horizontal grid 2017-11-13 12:27:38 +02:00
caudaganesh
d2c8088240 replace view.propTypes to ViewPropTypes for 0.49+ 2017-11-02 19:59:42 +07:00
Saleel S
70a896cd5d Add prop-types package and use it instead of deprecated PropTypes from core react 2017-10-09 19:53:20 +05:30
Jett Durham
7deae3371f Added defaultProp entry for staticWidth 2017-10-04 10:08:28 -05:00
Jett Durham
35ac802fa7 Added optional staticWidth prop and associated docs in README 2017-10-04 10:05:41 -05:00
Mike Heavers
0c9157ecc8 pass index to renderItem 2017-06-06 11:57:15 -07:00
saleel
c3b08e2ef6 Initial Commit 2017-04-08 01:01:27 +04:00