import * as Framer from "framer" ; import * as React from "react" ; const _PreventLayoutIdGeneration = ( props ) => { const context = React . useRef ( { getLayoutId : ( args ) => null , persistLayoutIdCache : ( ) => { } , top : false , } ) . current ; if ( Framer . LayoutIdContext ) { return ( < Framer . LayoutIdContext . Provider value = { context } { ... props } />); } return < > { props . children } < />; } ; export const PreventLayoutIdGeneration = _PreventLayoutIdGeneration as any ;