import * as React from "react" ; import * as p from "@plasmicapp/react-web" ; export type ScreenValue = "mobileOnly" ; export const ScreenContext = React . createContext < ScreenValue [ ] | undefined > ( "PLEASE_RENDER_INSIDE_PROVIDER" as any ) ; deprecated export function ScreenVariantProvider ( props ) { console . warn ( "DEPRECATED: Plasmic now uses a custom hook for Screen variants, which is automatically included in your components. Please remove this provider from your code." ) ; return props . children ; } export const useScreenVariants = p . createUseScreenVariants ( true , { mobileOnly : "(min-width:0px) and (max-width:768px)" , } ) ; export default ScreenContext ;