import { root } from "@lynx-js/react"; import { useCallback, useEffect, useState } from "@lynx-js/react"; import arrow from "./assets/arrow.png"; import lynxLogo from "./assets/lynx-logo.png"; import reactLynxLogo from "./assets/react-logo.png"; import "./index.scss"; const GridComponent = () => { const [alterLogo, setAlterLogo] = useState(false); useEffect(() => { console.info("Hello, ReactLynx"); }, []); const onTap = useCallback(() => { "background-only"; setAlterLogo(!alterLogo); }, [alterLogo]); return ( {alterLogo ? : } No Wrap min-width:50px, will fit the container Tap the logo and have fun! Edit{" src/index.tsx "} to see updates! ); }; root.render(); if (import.meta.webpackHot) { import.meta.webpackHot.accept(); }