docs(sw): Popup guidance, example comments, package README and link check
This commit is contained in:
1 parent
2ce24b8b43
commit
e32a138f28
7 files changed
+92
-91
No files matched your search
@@ -1,6 +1,10 @@
|
||||
// Example F — a viewer header: logo → Open → file → layer → color → K, plus a tool bar (Model / Layout, 2.5D,
|
||||
// Fit) after the menus. Everything is SWHeader props, so the existing responsive More serves the whole layout
|
||||
// (Open moves into More when the measured header has no room). No freeze / lock, no "+ New" in this product.
|
||||
// Example F — an SW NORMAL-mode SWHeader with file open and a tool bar: logo → Open → file → layer → color → K, plus
|
||||
// a tool bar (Model / Layout, 2.5D, Fit) after the menus. Everything is SWHeader props, so the existing responsive
|
||||
// More serves the whole layout (Open moves into More when the measured header has no room). No freeze / lock, no
|
||||
// "+ New" in this product.
|
||||
// It is NOT the SW viewer mode: a viewer screen (DWG/DXF viewing) uses SWViewerHeader / SWViewerMenu /
|
||||
// SWViewerPanel (Example H, VIEWER.md). "Viewer" in the file and function name is a former name, kept so existing
|
||||
// imports keep working.
|
||||
import { useState } from "react"
|
||||
import { SWHeader, SWToolButton, SWToolGroup } from "@hm-design/sw"
|
||||
import { colors, documents, layers } from "./sample-data"
|
||||
|
||||
Reference in new issue
Block a user