Skip to content

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 />;
typeNeighborLocationProps
PropertyDescription
controlsLength
number

Number of elements in a group

NeighborLocation.Detect

Component for detect neighbors.

import NeighborLocation from '@semcore/ui/neighbor-location';

<NeighborLocation.Detect />;
typeNeighborItemProps
PropertyDescription
neighborLocation
"right" | "both" | "left" | false

Determines from which side the component has neighbors