Skip to main content

Function: EyeDropperDesignLayer

▸ EyeDropperDesignLayer(__namedParameters): null | Element

The EyeDropperDesignLayer is a connected observer component, linked to the current design engine, that allows the user to extract a custom color from the panel using a magnified view.

Remarks

This component depends on the EyeDropperPreviewExtension in order to render a panel preview for magnification purposes. You must register this extension in order to use this component as intended. This component also requires EyeDropperProvider to be in the component tree.

Parameters​

NameType
__namedParametersEyeDropperDesignLayerProps

Returns​

null | Element

Defined in​

packages/design-engine-react-components/src/components/eyeDropper/EyeDropperDesignLayer.tsx:34