type REMOVED = 'REMOVED' /** * Wix framework props. * * @example * ```tsx * import type { Wix } from '@wix/editor-react-types'; * * interface MyComponentProps { * className: string; * wix?: Wix; * } * * const MyComponent = ({ className, wix }: MyComponentProps) => ( *
*
...
*
* ); * ``` */ export interface Wix { /** * Tracks which removable elements have been removed by the Wix user. * Keys are element keys (as defined in the manifest), values are `'REMOVED'`. */ elementsRemovalState: Record /** * Props to spread onto the outermost wrapper element when using presets. * Required for the preset picker to work correctly in the editor. */ presetsWrapperProps?: { className: string } }