Skip to main content

Function: SnappingUIDesignLayer

▸ SnappingUIDesignLayer(__namedParameters): Element

A connected IDA design layer for displaying SnapLines that a selection of items can snap to as well as the SnapBox used to determine the snap points of the selection.

Remarks

In order to customize any specific styling CSS specificity will need to target the child classes of {dec-snapline--${SnapType}} or {dec-snapbox}.

SnapType: 'item-boundary' | 'panel-center' | 'mask' | 'item-center'

Parameters​

NameType
__namedParametersSnappingDesignLayerProps

Returns​

Element

Defined in​

packages/design-engine-react-components/src/components/snapping/SnappingUIDesignLayer.tsx:74