import { root } from "@lynx-js/react"; import "./index.scss"; const LinearComponent = () => { return ( Linear layout linear-direction: column Item 1 Item 2 Item 3 Item 4 linear-direction: row Item 1 Item 2 Item 3 ); }; root.render(); if (import.meta.webpackHot) { import.meta.webpackHot.accept(); }