git.iko.soy/rowtype-yoga/yoga-r3f
on main help sign in
41 lines 866 B history raw
1export function rowIndex(row) {
2 return function () {
3 return row.rowIndex;
4 };
5}
7// ----------------------------------------------------------------------------
9export function sectionRowIndex(row) {
10 return function () {
11 return row.sectionRowIndex;
12 };
15// ----------------------------------------------------------------------------
17export function cells(row) {
18 return function () {
19 return row.cells;
20 };
23// ----------------------------------------------------------------------------
25export function insertCellAt(index) {
26 return function (row) {
27 return function () {
28 return row.insertCell(index);
29 };
30 };
33// ----------------------------------------------------------------------------
35export function deleteCell(index) {
36 return function (row) {
37 return function () {
38 row.deleteCell(index);
39 };
40 };