NeighborLocation
Utils4.7.2
NeighborLocation
Root wrapper-component doesn't create a node but provides a context for defining neighbors.
import NeighborLocation from '@semcore/ui/neighbor-location';
<NeighborLocation />;
type
NeighborLocationProps
Property | Description |
---|---|
controlsLength number | Number of elements in a group |
NeighborLocation.Detect
Component for detect neighbors.
import NeighborLocation from '@semcore/ui/neighbor-location';
<NeighborLocation.Detect />;
type
NeighborItemProps
Property | Description |
---|---|
neighborLocation "right" | "both" | "left" | false | Determines from which side the component has neighbors |