useIndexOfLastVisibleChild
Sample Usage
This hook will find the index of the last child of a containing element that fits within its bounding rectangle. This is done by summing the widths of the children until they exceed the width of the container.
This hook will find the index of the last child of a containing element that fits within its bounding rectangle. This is done by summing the widths of the children until they exceed the width of the container.
Contents