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
Name | Type |
---|---|
__namedParameters | EyeDropperDesignLayerProps |
Returns
null
| Element
Defined in
packages/design-engine-react-components/src/components/eyeDropper/EyeDropperDesignLayer.tsx:34