Selects the name of the paper layer the cell renders into, or null when it sits on the paper's default layer.
null
the resolved cell record
import { useCell, selectCellLayer } from '@joint/react';const layer = useCell(cellId, selectCellLayer); Copy
import { useCell, selectCellLayer } from '@joint/react';const layer = useCell(cellId, selectCellLayer);
Selects the name of the paper layer the cell renders into, or
nullwhen it sits on the paper's default layer.