diff --git a/docs/prototype/code-reader/openpencil/exports/react-hooks-custom.png b/docs/prototype/code-reader/openpencil/exports/react-hooks-custom.png index 1b8f18a..161d610 100644 Binary files a/docs/prototype/code-reader/openpencil/exports/react-hooks-custom.png and b/docs/prototype/code-reader/openpencil/exports/react-hooks-custom.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/react-hooks-panel.png b/docs/prototype/code-reader/openpencil/exports/react-hooks-panel.png index 4e405bf..2fd272f 100644 Binary files a/docs/prototype/code-reader/openpencil/exports/react-hooks-panel.png and b/docs/prototype/code-reader/openpencil/exports/react-hooks-panel.png differ diff --git a/docs/prototype/code-reader/openpencil/react-hooks.js b/docs/prototype/code-reader/openpencil/react-hooks.js index 51e2d78..f589060 100644 --- a/docs/prototype/code-reader/openpencil/react-hooks.js +++ b/docs/prototype/code-reader/openpencil/react-hooks.js @@ -1,7 +1,8 @@ // 代码阅读 React 钩子卡片:一个 VS Code 窗口里左边是编辑器、右边是代码阅读预览,每张卡片和它那段源码的第一行对齐, // 卡片比源码高时,编辑器在那段源码下面留空,下一段源码再和下一张卡片对齐。 -// 每处钩子调用都是同一种「钩子」卡片:钩子 / 类型参数 / 参数 / 返回四行照钩子签名排,各类钩子只在后面追加自己的行; -// 左边的钩子图标、描边所有钩子一样,淡底按来源分,React 自带的钩子左边再并排一个作用图标;几处位置、几处改动都排成表。 +// 每处钩子调用都是同一种「钩子」卡片,只有钩子 / 类型参数 / 参数 / 返回四行,照钩子签名排; +// 左边的钩子图标、描边所有钩子一样,淡底按来源分,React 自带的钩子左边再并排一个作用图标; +// 卡片不分析钩子里写了什么,返回值里有函数的,右上角的调用树按钮查它在哪调用。 // 样例源码 `src/chat/Panel.tsx` 是手写的,两张画板共用:一张画第 1–21 行,一张画第 23–60 行;钩子来自 React、第三方库、项目自己各有一处。 // 颜色、窗口和卡片画法取自同目录 react.js(VS Code Dark Modern,卡片淡底 7%、描边 35%),函数小框取自同目录 rust-chain.js; // 卡片里的译文照 vscode/src/codeReader/translators/typescriptZh.ts 的中文直译,渲染大纲的说法照 vscode/src/codeReader/rules/react.ts。 @@ -574,13 +575,23 @@ function group(parent, segs, color, bg) { // ─── 卡片 ──────────────────────────────────────────────────────────────────── -/** 卡片右上角:问 AI、编辑。 */ -function tools(parent) { +/** + * 卡片右上角:问 AI、编辑;给了 `calls` 再加调用树,同 webview 的 BlockTools:图标后面跟调用次数的小圆标 + * (徽标底色、字色取 Dark Modern 的 badge)。返回这一排的宽度。 + */ +function tools(parent, calls) { const bar = row(parent, "Tools", { width: "fit_content", height: 20, gap: 2 }); for (const name of ["sparkles", "pencil"]) { const button = row(bar, name, { width: 22, height: 20, justify: "center", radius: 4 }); icon(button, name, C.desc, 14); } + if (!calls) + return 22 * 2 + 2; + const tree = row(bar, "git-branch", { width: "fit_content", height: 20, padding: [0, 4], gap: 1, radius: 4 }); + icon(tree, "git-branch", C.desc, 14); + const badge = row(tree, "Count", { width: 14, height: 14, justify: "center", radius: 7, fill: "#616161" }); + text(badge, String(calls), { size: 9, weight: 700, color: "#f8f8f8", lh: 14 }); + return 22 * 2 + 2 + 2 + (4 + 14 + 1 + 14 + 4); } /** @@ -618,7 +629,7 @@ function conceptIcon(parent, item) { /** * 一张卡片:折叠箭头(有子块才有:`open` 展开、`closed` 收起)、概念图标、内容、右上角两个按钮。 * 概念图标默认是种类图标一个,给了 `icons` 就并排画这几个(`{name, color, tip, bubble?}`)。 - * 淡底默认用种类色,给了 `tint` 用它(钩子卡片按来源分底色)。 + * 淡底默认用种类色,给了 `tint` 用它(钩子卡片按来源分底色)。给了 `calls` 右上角多一个调用树按钮。 * `w` 是卡片外宽;返回内容区和内容区的宽度,属性行、表格按它断行。 */ function card(parent, kind, w, o) { @@ -640,9 +651,9 @@ function card(parent, kind, w, o) { const concepts = row(node, "Concepts", { width: "fit_content", height: 20, gap: 2 }); for (const item of icons) conceptIcon(concepts, item); const content = col(node, "Content", { gap: 3 }); - tools(node); + const toolsW = tools(node, opt.calls); const iconsW = icons.length * 20 + (icons.length - 1) * 2; - return { node, content, w: w - 18 - 14 - iconsW - 46 - 30, bg, labelW: opt.labelW || 76 }; + return { node, content, w: w - 18 - 14 - iconsW - toolsW - 30, bg, labelW: opt.labelW || 76 }; } /** 属性表的一行:左边说明色的标签,右边值。`value` 是着色的段、字符串,或自己画的函数 `(frame, width)`。 */ @@ -799,7 +810,7 @@ function reducerCard(parent, w) { } function hookCard(parent, w) { - const ctx = card(parent, HOOK, w, { name: "useChatSession", fold: "open", tint: ORIGIN.own }); + const ctx = card(parent, HOOK, w, { name: "useChatSession", fold: "open", tint: ORIGIN.own, calls: 1 }); nameProp(ctx, "useChatSession", C.fn, [EXPORTED]); prop(ctx, "参数", px("1 个", C.desc), { mono: false, fold: "open" }); table(ctx, [{ name: "名称", color: C.variable }, { name: "类型", color: C.type }], [["id", cx("字符串")]]); @@ -807,7 +818,7 @@ function hookCard(parent, w) { table(ctx, [{ name: "名称", color: C.variable }, { name: "是什么", mono: false }], [["messages", [link("状态 messages", HOOK.color)]]]); } -// ─── 钩子调用:基础卡片加扩展行 ────────────────────────────────────────────── +// ─── 钩子调用:一种卡片 ────────────────────────────────────────────────────── // 所有钩子卡片左边第一个图标、描边都一样;淡底按钩子从哪来分:React 自带、第三方库、项目里自己写的 const HOOK = { label: "钩子", color: "#b180d7", icon: "fishing-hook" }; @@ -824,8 +835,8 @@ const ROLE = { concurrent: { label: "并发", icon: "hourglass", color: "#ce9178" }, }; -// 所有钩子卡片同一个标签列宽,最长的标签是上下文的「没有外层提供时」 -const HOOK_LABEL_W = 100; +// 所有钩子卡片同一个标签列宽,和最长的标签「类型参数」对齐 +const HOOK_LABEL_W = 76; /** 依赖项的三种读法:某个值变化时、空数组的仅挂载时、没写依赖的每次渲染后。 */ const changed = (name) => [seg(name, C.variable), seg(" 变化时", C.keyword)]; @@ -855,33 +866,20 @@ function fnBox(params, count) { }; } -/** 一段代码后面跟一句灰字(「1 秒后」「在过渡里」)。 */ -function codeWithNote(code, note) { - return cx(code).concat(note ? [seg(" " + note, C.desc)] : []); -} - /** - * 一处或几处「位置 | 写法」的表(在哪改、在哪派发、用在、调用位置):位置都能点过去,写法照译。 - * `rows` 每项是 `[位置, 写法, 灰字?]`。 - */ -function placesRow(ctx, label, rows) { - prop(ctx, label, px(`${rows.length} 个`, C.desc), { mono: false, fold: "open" }); - table(ctx, [{ name: "位置" }, { name: "写法" }], rows.map(([where, how, note]) => [[link(where, HOOK.color)], codeWithNote(how, note)])); -} - -/** - * 钩子调用的卡片,所有钩子共用一种:钩子 / 类型参数 / 参数 / 返回四行照钩子签名排,没有的行不显示, - * `extend` 在后面追加这类钩子自己的行。左边第一个图标、描边所有钩子一样,淡底按来源取: - * React 自带的(给 `role`)左边再并排一个作用图标;第三方库的(`lib`)、自己写的(`own`)只有钩子图标,自己写的钩子名能点到定义。 - * `roleTip` 换掉作用图标的悬停文字,`bubble` 画出悬停时的提示气泡。 - * `fold` 表示有函数参数,函数体子块收起。`params` 每项是「参数 | 值」,`returns` 每项是「名称 | 是什么」,格子同 [table]。 + * 钩子调用的卡片,所有钩子共用一种,只有钩子 / 类型参数 / 参数 / 返回四行,照钩子签名排,没有的行不显示。 + * 左边第一个图标、描边所有钩子一样,淡底按来源取:React 自带的(给 `role`)左边再并排一个作用图标; + * 第三方库的(`lib`)、自己写的(`own`)只有钩子图标,自己写的钩子名能点到定义。 + * `roleTip` 换掉作用图标的悬停文字,`bubble` 画出悬停时的提示气泡。`fold` 表示有函数参数,函数体子块收起。 + * `params` 每项是「参数 | 值」;`returns` 每项是「名称 | 是什么」,给了 `namesOnly` 只列名称。格子同 [table]。 + * 返回值里有函数时给 `calls`:右上角多一个调用树按钮,数字是这个函数在样例里被调用几次。 */ function hookCall(parent, w, h) { const tint = h.own ? ORIGIN.own : h.lib ? ORIGIN.library : ORIGIN.react; const icons = [{ name: HOOK.icon, color: HOOK.color, tip: HOOK.label }]; if (h.role) icons.push({ name: h.role.icon, color: h.role.color, tip: h.roleTip || h.role.label, bubble: h.bubble }); - const ctx = card(parent, HOOK, w, { name: h.name + " · " + h.target, fold: h.fold ? "closed" : null, labelW: HOOK_LABEL_W, tint, icons }); + const ctx = card(parent, HOOK, w, { name: h.name + " · " + h.target, fold: h.fold ? "closed" : null, labelW: HOOK_LABEL_W, tint, icons, calls: h.calls }); const line = row(ctx.content, "Prop / 钩子", { gap: 12, align: "start" }); const key = row(line, "Key", { width: ctx.labelW, height: 20 }); text(key, "钩子", { size: 12.5, color: C.desc, lh: 20 }); @@ -894,37 +892,15 @@ function hookCall(parent, w, h) { } if (h.returns) { prop(ctx, "返回", px(`${h.returns.length} 个`, C.desc), { mono: false, fold: "open" }); - table(ctx, [{ name: "名称", color: C.variable }, { name: "是什么", mono: false }], h.returns); + if (h.namesOnly) + table(ctx, [{ name: "名称", color: C.variable }], h.returns.map((name) => [name])); + else + table(ctx, [{ name: "名称", color: C.variable }, { name: "是什么", mono: false }], h.returns); } - if (h.extend) - h.extend(ctx); } -/** 副作用的扩展行:改动(「改了 | 写法」表,没改动不显示)、清理函数(有才写)。 */ -function effectRows(o) { - return (ctx) => { - if (o.changes) { - prop(ctx, "改动", px(`${o.changes.length} 个`, C.desc), { mono: false, fold: "open" }); - table(ctx, [{ name: "改了" }, { name: "写法" }], o.changes.map(([what, how]) => [what, cx(how)])); - } - if (o.cleanup) - prop(ctx, "清理函数", cx(o.cleanup)); - }; -} - -/** 改了什么:状态、引用前面写上是哪种。 */ -const stateOf = (name) => [seg("状态 ", C.fg), seg(name, C.variable)]; -const refOf = (name) => [seg("引用 ", C.fg), seg(name, C.variable)]; - // ─── 钩子调用:样例里的每一处 ──────────────────────────────────────────────── -// 别的卡片点到副作用时用的名字 -const SESSION_EFFECT = "副作用「id 变化时」"; -const OPEN_EFFECT = "副作用「open 变化时」"; -const MOUNT_EFFECT = "副作用「仅挂载时」"; -const SET_TIMER = "timer.current = window.setTimeout(…)"; -const PUSH_MESSAGE = "setMessages(m => [...m, e.data])"; - /** 第 14 行:自定义钩子里的 `useState`,作用图标画出悬停气泡。 */ function messagesStateHook(parent, w) { hookCall(parent, w, { @@ -935,7 +911,7 @@ function messagesStateHook(parent, w) { typeArg: "Message[]", params: [["initialState", cx("空数组")]], returns: [["messages", "当前值"], [px("setMessages", C.fn), "修改函数"]], - extend: (ctx) => placesRow(ctx, "在哪改", [[SESSION_EFFECT, PUSH_MESSAGE, "ws.onmessage 里"]]), + calls: 1, }); } @@ -947,7 +923,6 @@ function sessionEffectHook(parent, w) { target: "id 变化时", fold: true, params: [["effect", fnBox(null, 3)], ["deps", changed("id")]], - extend: effectRows({ changes: [[stateOf("messages"), PUSH_MESSAGE]], cleanup: "ws.close()" }), }); } @@ -967,7 +942,6 @@ function themeHook(parent, w) { target: "theme", params: [["context", [link("ThemeContext", K.context.color)]]], returns: [["theme", "上下文的值"]], - extend: (ctx) => prop(ctx, "没有外层提供时", px("'light'", C.string)), }); } @@ -977,7 +951,8 @@ function sessionHook(parent, w) { name: "useChatSession", target: "messages", params: [["id", cx("id")]], - returns: [["messages", [link("状态 messages", HOOK.color)]]], + returns: ["messages"], + namesOnly: true, }); } @@ -988,7 +963,7 @@ function openStateHook(parent, w) { target: "open", params: [["initialState", [seg("首次渲染时调用 ", C.fg)].concat(cx("readOpen(id)"))]], returns: [["open", "当前值"], [px("setOpen", C.fn), "修改函数"]], - extend: (ctx) => placesRow(ctx, "在哪改", [["toggle", "setOpen(next)"], [OPEN_EFFECT, "setOpen(假)", "1 秒后"]]), + calls: 2, }); } @@ -999,14 +974,7 @@ function reducerHook(parent, w) { target: "state", params: [["reducer", [link("reducer", C.fn)]], ["initialState", cx("{ count: 0 }")]], returns: [["state", "当前值"], [px("dispatch", C.fn), "派发函数"]], - extend: (ctx) => { - prop(ctx, "动作", "", { fold: "open" }); - table(ctx, [{ name: "动作", color: C.string }, { name: "状态怎么变" }], [ - ["'add'", [seg("count", C.variable), seg(" 加 ", C.fg), seg("1", C.number)]], - [px("其他", C.desc), px("不变", C.fg)], - ]); - placesRow(ctx, "在哪派发", [["toggle", "dispatch({ type: 'add' })"]]); - }, + calls: 1, }); } @@ -1016,6 +984,7 @@ function transitionHook(parent, w) { name: "useTransition", target: "isPending", returns: [["isPending", "是否正在过渡"], [px("startTransition", C.fn), "启动过渡的函数"]], + calls: 1, }); } @@ -1027,10 +996,6 @@ function boxRefHook(parent, w) { typeArg: "HTMLDivElement", params: [["initialValue", cx("空")]], returns: [["boxRef", "引用对象"]], - extend: (ctx) => { - prop(ctx, "指向", [seg("
", C.nativeTag), seg(" 元素", C.fg)]); - placesRow(ctx, "用在", [["
", "ref={boxRef}"], [MOUNT_EFFECT, "boxRef.current?.scrollTo(0, 0)"]]); - }, }); } @@ -1042,7 +1007,6 @@ function timerHook(parent, w) { typeArg: "数值", params: [["initialValue", [seg("没写,", C.desc), seg("未定义", C.number)]]], returns: [["timer", "引用对象"]], - extend: (ctx) => placesRow(ctx, "用在", [[OPEN_EFFECT, SET_TIMER], [OPEN_EFFECT + "的清理函数", "clearTimeout(timer.current)"]]), }); } @@ -1054,10 +1018,6 @@ function totalHook(parent, w) { fold: true, params: [["factory", fnBox(null, 2)], ["deps", changed("messages")]], returns: [["total", "算出的值"]], - extend: (ctx) => prop(ctx, "算出", (frame, vw) => { - text(frame, cx("sum * 2"), { mono: true, maxW: vw }); - text(frame, "其中 sum = messages.length", { mono: true, size: 12.5, color: C.desc, maxW: vw }); - }), }); } @@ -1069,7 +1029,7 @@ function toggleHook(parent, w) { fold: true, params: [["callback", fnBox([seg("next", C.variable), seg(": ", C.fg), seg("布尔", C.type)], 2)], ["deps", ON_MOUNT]], returns: [[px("toggle", C.fn), "记住的函数"]], - extend: (ctx) => placesRow(ctx, "调用位置", [["handleClick", "toggle(open 不成立)", "在过渡里"]]), + calls: 1, }); } @@ -1080,10 +1040,6 @@ function openEffectHook(parent, w) { target: "open 变化时", fold: true, params: [["effect", fnBox(null, 2)], ["deps", changed("open")]], - extend: effectRows({ - changes: [[stateOf("open"), "setOpen(假)"], [refOf("timer"), SET_TIMER]], - cleanup: "clearTimeout(timer.current)", - }), }); } @@ -1094,7 +1050,6 @@ function renderEffectHook(parent, w) { target: "每次渲染后", fold: true, params: [["effect", fnBox(null, 1)], ["deps", NO_DEPS]], - extend: effectRows({ changes: [[cx("document.title"), "String(total)"]] }), }); } diff --git a/docs/prototype/code-reader/openpencil/react-hooks.op b/docs/prototype/code-reader/openpencil/react-hooks.op index c5a4894..209a080 100644 --- a/docs/prototype/code-reader/openpencil/react-hooks.op +++ b/docs/prototype/code-reader/openpencil/react-hooks.op @@ -6004,7 +6004,7 @@ "type": "frame", "id": "n352", "name": "类型", - "width": 582.0, + "width": 543.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -6115,7 +6115,7 @@ "type": "frame", "id": "n359", "name": "类型", - "width": 582.0, + "width": 543.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -6336,7 +6336,7 @@ "type": "frame", "id": "n372", "name": "是什么", - "width": 543.0, + "width": 504.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -6447,7 +6447,7 @@ "type": "frame", "id": "n379", "name": "是什么", - "width": 543.0, + "width": 504.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -6560,6 +6560,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n386", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n387", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n388", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n389", + "name": "1", + "width": "fit_content", + "height": "fit_content", + "content": "1", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -6575,7 +6647,7 @@ }, { "type": "frame", - "id": "n386", + "id": "n390", "name": "Lines 14–14", "width": "fill_container", "height": "fit_content", @@ -6586,7 +6658,7 @@ "children": [ { "type": "frame", - "id": "n387", + "id": "n391", "name": "Code", "width": 600.0, "height": "fill_container", @@ -6602,7 +6674,7 @@ "children": [ { "type": "frame", - "id": "n388", + "id": "n392", "name": "Line 14", "width": "fill_container", "height": 20.0, @@ -6613,7 +6685,7 @@ "children": [ { "type": "frame", - "id": "n389", + "id": "n393", "name": "Number", "width": 44.0, "height": 20.0, @@ -6625,7 +6697,7 @@ "children": [ { "type": "text", - "id": "n390", + "id": "n394", "name": "14", "width": "fit_content", "height": "fit_content", @@ -6646,7 +6718,7 @@ }, { "type": "frame", - "id": "n391", + "id": "n395", "name": "Margin", "width": 41.66, "height": 20.0, @@ -6654,7 +6726,7 @@ }, { "type": "text", - "id": "n392", + "id": "n396", "name": "const [messages, setMessages] = useState", "width": "fit_content", "height": "fit_content", @@ -6742,7 +6814,7 @@ }, { "type": "rectangle", - "id": "n393", + "id": "n397", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -6756,7 +6828,7 @@ }, { "type": "frame", - "id": "n394", + "id": "n398", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -6772,7 +6844,7 @@ "children": [ { "type": "frame", - "id": "n395", + "id": "n399", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -6783,7 +6855,7 @@ "children": [ { "type": "frame", - "id": "n396", + "id": "n400", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -6794,7 +6866,7 @@ "children": [ { "type": "rectangle", - "id": "n397", + "id": "n401", "name": "Line", "width": 1.0, "height": "fill_container", @@ -6810,7 +6882,7 @@ }, { "type": "frame", - "id": "n398", + "id": "n402", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -6826,7 +6898,7 @@ "children": [ { "type": "frame", - "id": "n399", + "id": "n403", "name": "钩子 / useState · messages", "width": "fill_container", "height": "fit_content", @@ -6859,7 +6931,7 @@ "children": [ { "type": "frame", - "id": "n400", + "id": "n404", "name": "Fold", "width": 14.0, "height": 20.0, @@ -6872,7 +6944,7 @@ }, { "type": "frame", - "id": "n401", + "id": "n405", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -6883,7 +6955,7 @@ "children": [ { "type": "frame", - "id": "n402", + "id": "n406", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -6895,7 +6967,7 @@ "children": [ { "type": "icon_font", - "id": "n403", + "id": "n407", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -6911,7 +6983,7 @@ }, { "type": "frame", - "id": "n404", + "id": "n408", "name": "Concept / 状态", "width": 20.0, "height": 20.0, @@ -6921,7 +6993,7 @@ "children": [ { "type": "icon_font", - "id": "n405", + "id": "n409", "name": "toggle-right", "x": 2.0, "y": 2.0, @@ -6937,7 +7009,7 @@ }, { "type": "frame", - "id": "n406", + "id": "n410", "name": "Tooltip", "x": -19.0, "y": 26.0, @@ -6975,7 +7047,7 @@ "children": [ { "type": "text", - "id": "n407", + "id": "n411", "name": "状态", "width": "fit_content", "height": "fit_content", @@ -7000,7 +7072,7 @@ }, { "type": "frame", - "id": "n408", + "id": "n412", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -7010,7 +7082,7 @@ "children": [ { "type": "frame", - "id": "n409", + "id": "n413", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -7021,9 +7093,9 @@ "children": [ { "type": "frame", - "id": "n410", + "id": "n414", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -7032,7 +7104,7 @@ "children": [ { "type": "text", - "id": "n411", + "id": "n415", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -7053,7 +7125,7 @@ }, { "type": "text", - "id": "n412", + "id": "n416", "name": "useState", "width": "fit_content", "height": "fit_content", @@ -7080,7 +7152,7 @@ }, { "type": "frame", - "id": "n413", + "id": "n417", "name": "Prop / 类型参数", "width": "fill_container", "height": "fit_content", @@ -7091,9 +7163,9 @@ "children": [ { "type": "frame", - "id": "n414", + "id": "n418", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -7102,7 +7174,7 @@ "children": [ { "type": "text", - "id": "n415", + "id": "n419", "name": "类型参数", "width": "fit_content", "height": "fit_content", @@ -7123,7 +7195,7 @@ }, { "type": "text", - "id": "n416", + "id": "n420", "name": "Message[]", "width": "fit_content", "height": "fit_content", @@ -7153,7 +7225,7 @@ }, { "type": "frame", - "id": "n417", + "id": "n421", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -7164,9 +7236,9 @@ "children": [ { "type": "frame", - "id": "n418", + "id": "n422", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -7175,7 +7247,7 @@ "children": [ { "type": "icon_font", - "id": "n419", + "id": "n423", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -7189,7 +7261,7 @@ }, { "type": "text", - "id": "n420", + "id": "n424", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -7210,7 +7282,7 @@ }, { "type": "text", - "id": "n421", + "id": "n425", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -7231,7 +7303,7 @@ }, { "type": "frame", - "id": "n422", + "id": "n426", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -7247,7 +7319,7 @@ "children": [ { "type": "frame", - "id": "n423", + "id": "n427", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -7267,7 +7339,7 @@ "children": [ { "type": "frame", - "id": "n424", + "id": "n428", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -7284,7 +7356,7 @@ "children": [ { "type": "frame", - "id": "n425", + "id": "n429", "name": "参数", "width": 114.0, "height": "fit_content", @@ -7298,7 +7370,7 @@ "children": [ { "type": "text", - "id": "n426", + "id": "n430", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -7319,7 +7391,7 @@ }, { "type": "rectangle", - "id": "n427", + "id": "n431", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -7333,9 +7405,9 @@ }, { "type": "frame", - "id": "n428", + "id": "n432", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -7347,7 +7419,7 @@ "children": [ { "type": "text", - "id": "n429", + "id": "n433", "name": "值", "width": "fit_content", "height": "fit_content", @@ -7370,7 +7442,7 @@ }, { "type": "rectangle", - "id": "n430", + "id": "n434", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -7384,7 +7456,7 @@ }, { "type": "frame", - "id": "n431", + "id": "n435", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -7395,7 +7467,7 @@ "children": [ { "type": "frame", - "id": "n432", + "id": "n436", "name": "参数", "width": 114.0, "height": "fit_content", @@ -7409,7 +7481,7 @@ "children": [ { "type": "text", - "id": "n433", + "id": "n437", "name": "initialState", "width": "fit_content", "height": "fit_content", @@ -7430,7 +7502,7 @@ }, { "type": "rectangle", - "id": "n434", + "id": "n438", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -7444,9 +7516,9 @@ }, { "type": "frame", - "id": "n435", + "id": "n439", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -7458,7 +7530,7 @@ "children": [ { "type": "text", - "id": "n436", + "id": "n440", "name": "空数组", "width": "fit_content", "height": "fit_content", @@ -7485,7 +7557,7 @@ }, { "type": "frame", - "id": "n437", + "id": "n441", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -7496,9 +7568,9 @@ "children": [ { "type": "frame", - "id": "n438", + "id": "n442", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -7507,7 +7579,7 @@ "children": [ { "type": "icon_font", - "id": "n439", + "id": "n443", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -7521,7 +7593,7 @@ }, { "type": "text", - "id": "n440", + "id": "n444", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -7542,7 +7614,7 @@ }, { "type": "text", - "id": "n441", + "id": "n445", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -7563,7 +7635,7 @@ }, { "type": "frame", - "id": "n442", + "id": "n446", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -7579,7 +7651,7 @@ "children": [ { "type": "frame", - "id": "n443", + "id": "n447", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -7599,7 +7671,7 @@ "children": [ { "type": "frame", - "id": "n444", + "id": "n448", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -7616,7 +7688,7 @@ "children": [ { "type": "frame", - "id": "n445", + "id": "n449", "name": "名称", "width": 106.0, "height": "fit_content", @@ -7630,7 +7702,7 @@ "children": [ { "type": "text", - "id": "n446", + "id": "n450", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -7651,7 +7723,7 @@ }, { "type": "rectangle", - "id": "n447", + "id": "n451", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -7665,9 +7737,9 @@ }, { "type": "frame", - "id": "n448", + "id": "n452", "name": "是什么", - "width": 477.0, + "width": 438.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -7679,7 +7751,7 @@ "children": [ { "type": "text", - "id": "n449", + "id": "n453", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -7702,7 +7774,7 @@ }, { "type": "rectangle", - "id": "n450", + "id": "n454", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -7716,7 +7788,7 @@ }, { "type": "frame", - "id": "n451", + "id": "n455", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -7727,7 +7799,7 @@ "children": [ { "type": "frame", - "id": "n452", + "id": "n456", "name": "名称", "width": 106.0, "height": "fit_content", @@ -7741,7 +7813,7 @@ "children": [ { "type": "text", - "id": "n453", + "id": "n457", "name": "messages", "width": "fit_content", "height": "fit_content", @@ -7762,7 +7834,7 @@ }, { "type": "rectangle", - "id": "n454", + "id": "n458", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -7776,9 +7848,9 @@ }, { "type": "frame", - "id": "n455", + "id": "n459", "name": "是什么", - "width": 477.0, + "width": 438.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -7790,7 +7862,7 @@ "children": [ { "type": "text", - "id": "n456", + "id": "n460", "name": "当前值", "width": "fit_content", "height": "fit_content", @@ -7813,7 +7885,7 @@ }, { "type": "rectangle", - "id": "n457", + "id": "n461", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -7827,7 +7899,7 @@ }, { "type": "frame", - "id": "n458", + "id": "n462", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -7838,7 +7910,7 @@ "children": [ { "type": "frame", - "id": "n459", + "id": "n463", "name": "名称", "width": 106.0, "height": "fit_content", @@ -7852,7 +7924,7 @@ "children": [ { "type": "text", - "id": "n460", + "id": "n464", "name": "setMessages", "width": "fit_content", "height": "fit_content", @@ -7873,7 +7945,7 @@ }, { "type": "rectangle", - "id": "n461", + "id": "n465", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -7887,9 +7959,9 @@ }, { "type": "frame", - "id": "n462", + "id": "n466", "name": "是什么", - "width": 477.0, + "width": 438.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -7901,7 +7973,7 @@ "children": [ { "type": "text", - "id": "n463", + "id": "n467", "name": "修改函数", "width": "fit_content", "height": "fit_content", @@ -7925,395 +7997,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n464", - "name": "Prop / 在哪改", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n465", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n466", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n467", - "name": "在哪改", - "width": "fit_content", - "height": "fit_content", - "content": "在哪改", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n468", - "name": "1 个", - "width": "fit_content", - "height": "fit_content", - "content": "1 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n469", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n470", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n471", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n472", - "name": "位置", - "width": 146.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n473", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n474", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n475", - "name": "写法", - "width": 437.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n476", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n477", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n478", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n479", - "name": "位置", - "width": 146.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n480", - "name": "副作用「id 变化时」", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "副作用「id 变化时」", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n481", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n482", - "name": "写法", - "width": 437.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n483", - "name": "setMessages(m => [...m, e.data]) ws.onm", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "setMessages", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "m", - "fill": "#9cdcfe" - }, - { - "text": " => [...", - "fill": "#cccccc" - }, - { - "text": "m", - "fill": "#9cdcfe" - }, - { - "text": ", ", - "fill": "#cccccc" - }, - { - "text": "e", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "data", - "fill": "#9cdcfe" - }, - { - "text": "])", - "fill": "#cccccc" - }, - { - "text": " ws.onmessage 里", - "fill": "#9d9d9d" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n484", + "id": "n468", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -8324,7 +8013,7 @@ "children": [ { "type": "frame", - "id": "n485", + "id": "n469", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -8337,7 +8026,7 @@ "children": [ { "type": "icon_font", - "id": "n486", + "id": "n470", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -8353,7 +8042,7 @@ }, { "type": "frame", - "id": "n487", + "id": "n471", "name": "pencil", "width": 22.0, "height": 20.0, @@ -8366,7 +8055,7 @@ "children": [ { "type": "icon_font", - "id": "n488", + "id": "n472", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -8379,6 +8068,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n473", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n474", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n475", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n476", + "name": "1", + "width": "fit_content", + "height": "fit_content", + "content": "1", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -8394,7 +8155,7 @@ }, { "type": "frame", - "id": "n489", + "id": "n477", "name": "Lines 15–19", "width": "fill_container", "height": "fit_content", @@ -8405,7 +8166,7 @@ "children": [ { "type": "frame", - "id": "n490", + "id": "n478", "name": "Code", "width": 600.0, "height": "fill_container", @@ -8421,7 +8182,7 @@ "children": [ { "type": "frame", - "id": "n491", + "id": "n479", "name": "Line 15", "width": "fill_container", "height": 20.0, @@ -8432,7 +8193,7 @@ "children": [ { "type": "frame", - "id": "n492", + "id": "n480", "name": "Number", "width": 44.0, "height": 20.0, @@ -8444,7 +8205,7 @@ "children": [ { "type": "text", - "id": "n493", + "id": "n481", "name": "15", "width": "fit_content", "height": "fit_content", @@ -8465,7 +8226,7 @@ }, { "type": "frame", - "id": "n494", + "id": "n482", "name": "Margin", "width": 41.66, "height": 20.0, @@ -8473,7 +8234,7 @@ }, { "type": "text", - "id": "n495", + "id": "n483", "name": "useEffect(() => {", "width": "fit_content", "height": "fit_content", @@ -8523,7 +8284,7 @@ }, { "type": "frame", - "id": "n496", + "id": "n484", "name": "Line 16", "width": "fill_container", "height": 20.0, @@ -8534,7 +8295,7 @@ "children": [ { "type": "frame", - "id": "n497", + "id": "n485", "name": "Number", "width": 44.0, "height": 20.0, @@ -8546,7 +8307,7 @@ "children": [ { "type": "text", - "id": "n498", + "id": "n486", "name": "16", "width": "fit_content", "height": "fit_content", @@ -8567,7 +8328,7 @@ }, { "type": "frame", - "id": "n499", + "id": "n487", "name": "Margin", "width": 57.32, "height": 20.0, @@ -8575,7 +8336,7 @@ }, { "type": "text", - "id": "n500", + "id": "n488", "name": "const ws = connect(id)", "width": "fit_content", "height": "fit_content", @@ -8629,7 +8390,7 @@ }, { "type": "frame", - "id": "n501", + "id": "n489", "name": "Line 17", "width": "fill_container", "height": 20.0, @@ -8640,7 +8401,7 @@ "children": [ { "type": "frame", - "id": "n502", + "id": "n490", "name": "Number", "width": 44.0, "height": 20.0, @@ -8652,7 +8413,7 @@ "children": [ { "type": "text", - "id": "n503", + "id": "n491", "name": "17", "width": "fit_content", "height": "fit_content", @@ -8673,7 +8434,7 @@ }, { "type": "frame", - "id": "n504", + "id": "n492", "name": "Margin", "width": 57.32, "height": 20.0, @@ -8681,7 +8442,7 @@ }, { "type": "text", - "id": "n505", + "id": "n493", "name": "ws.onmessage = e => setMessages(m => [..", "width": "fit_content", "height": "fit_content", @@ -8795,7 +8556,7 @@ }, { "type": "frame", - "id": "n506", + "id": "n494", "name": "Line 18", "width": "fill_container", "height": 20.0, @@ -8806,7 +8567,7 @@ "children": [ { "type": "frame", - "id": "n507", + "id": "n495", "name": "Number", "width": 44.0, "height": 20.0, @@ -8818,7 +8579,7 @@ "children": [ { "type": "text", - "id": "n508", + "id": "n496", "name": "18", "width": "fit_content", "height": "fit_content", @@ -8839,7 +8600,7 @@ }, { "type": "frame", - "id": "n509", + "id": "n497", "name": "Margin", "width": 57.32, "height": 20.0, @@ -8847,7 +8608,7 @@ }, { "type": "text", - "id": "n510", + "id": "n498", "name": "return () => ws.close()", "width": "fit_content", "height": "fit_content", @@ -8909,7 +8670,7 @@ }, { "type": "frame", - "id": "n511", + "id": "n499", "name": "Line 19", "width": "fill_container", "height": 20.0, @@ -8920,7 +8681,7 @@ "children": [ { "type": "frame", - "id": "n512", + "id": "n500", "name": "Number", "width": 44.0, "height": 20.0, @@ -8932,7 +8693,7 @@ "children": [ { "type": "text", - "id": "n513", + "id": "n501", "name": "19", "width": "fit_content", "height": "fit_content", @@ -8953,7 +8714,7 @@ }, { "type": "frame", - "id": "n514", + "id": "n502", "name": "Margin", "width": 41.66, "height": 20.0, @@ -8961,7 +8722,7 @@ }, { "type": "text", - "id": "n515", + "id": "n503", "name": "}, [id])", "width": "fit_content", "height": "fit_content", @@ -9009,7 +8770,7 @@ }, { "type": "rectangle", - "id": "n516", + "id": "n504", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -9023,7 +8784,7 @@ }, { "type": "frame", - "id": "n517", + "id": "n505", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -9039,7 +8800,7 @@ "children": [ { "type": "frame", - "id": "n518", + "id": "n506", "name": "Level", "width": "fill_container", "height": "fit_content", @@ -9050,7 +8811,7 @@ "children": [ { "type": "frame", - "id": "n519", + "id": "n507", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -9061,7 +8822,7 @@ "children": [ { "type": "rectangle", - "id": "n520", + "id": "n508", "name": "Line", "width": 1.0, "height": "fill_container", @@ -9077,7 +8838,7 @@ }, { "type": "frame", - "id": "n521", + "id": "n509", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -9093,7 +8854,7 @@ "children": [ { "type": "frame", - "id": "n522", + "id": "n510", "name": "钩子 / useEffect · id 变化时", "width": "fill_container", "height": "fit_content", @@ -9126,7 +8887,7 @@ "children": [ { "type": "frame", - "id": "n523", + "id": "n511", "name": "Fold", "width": 14.0, "height": 20.0, @@ -9138,7 +8899,7 @@ "children": [ { "type": "icon_font", - "id": "n524", + "id": "n512", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -9154,7 +8915,7 @@ }, { "type": "frame", - "id": "n525", + "id": "n513", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -9165,7 +8926,7 @@ "children": [ { "type": "frame", - "id": "n526", + "id": "n514", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -9177,7 +8938,7 @@ "children": [ { "type": "icon_font", - "id": "n527", + "id": "n515", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -9193,7 +8954,7 @@ }, { "type": "frame", - "id": "n528", + "id": "n516", "name": "Concept / 副作用", "width": 20.0, "height": 20.0, @@ -9205,7 +8966,7 @@ "children": [ { "type": "icon_font", - "id": "n529", + "id": "n517", "name": "zap", "iconFontName": "zap", "width": 16.0, @@ -9223,7 +8984,7 @@ }, { "type": "frame", - "id": "n530", + "id": "n518", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -9233,7 +8994,7 @@ "children": [ { "type": "frame", - "id": "n531", + "id": "n519", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -9244,9 +9005,9 @@ "children": [ { "type": "frame", - "id": "n532", + "id": "n520", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -9255,7 +9016,7 @@ "children": [ { "type": "text", - "id": "n533", + "id": "n521", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -9276,7 +9037,7 @@ }, { "type": "text", - "id": "n534", + "id": "n522", "name": "useEffect", "width": "fit_content", "height": "fit_content", @@ -9303,7 +9064,7 @@ }, { "type": "frame", - "id": "n535", + "id": "n523", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -9314,9 +9075,9 @@ "children": [ { "type": "frame", - "id": "n536", + "id": "n524", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -9325,7 +9086,7 @@ "children": [ { "type": "icon_font", - "id": "n537", + "id": "n525", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -9339,7 +9100,7 @@ }, { "type": "text", - "id": "n538", + "id": "n526", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -9360,7 +9121,7 @@ }, { "type": "text", - "id": "n539", + "id": "n527", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -9381,7 +9142,7 @@ }, { "type": "frame", - "id": "n540", + "id": "n528", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -9397,7 +9158,7 @@ "children": [ { "type": "frame", - "id": "n541", + "id": "n529", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -9417,7 +9178,7 @@ "children": [ { "type": "frame", - "id": "n542", + "id": "n530", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -9434,7 +9195,7 @@ "children": [ { "type": "frame", - "id": "n543", + "id": "n531", "name": "参数", "width": 66.0, "height": "fit_content", @@ -9448,7 +9209,7 @@ "children": [ { "type": "text", - "id": "n544", + "id": "n532", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -9469,7 +9230,7 @@ }, { "type": "rectangle", - "id": "n545", + "id": "n533", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -9483,7 +9244,7 @@ }, { "type": "frame", - "id": "n546", + "id": "n534", "name": "值", "width": 517.0, "height": "fit_content", @@ -9497,7 +9258,7 @@ "children": [ { "type": "text", - "id": "n547", + "id": "n535", "name": "值", "width": "fit_content", "height": "fit_content", @@ -9520,7 +9281,7 @@ }, { "type": "rectangle", - "id": "n548", + "id": "n536", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -9534,7 +9295,7 @@ }, { "type": "frame", - "id": "n549", + "id": "n537", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -9545,7 +9306,7 @@ "children": [ { "type": "frame", - "id": "n550", + "id": "n538", "name": "参数", "width": 66.0, "height": "fit_content", @@ -9559,7 +9320,7 @@ "children": [ { "type": "text", - "id": "n551", + "id": "n539", "name": "effect", "width": "fit_content", "height": "fit_content", @@ -9580,7 +9341,7 @@ }, { "type": "rectangle", - "id": "n552", + "id": "n540", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -9594,7 +9355,7 @@ }, { "type": "frame", - "id": "n553", + "id": "n541", "name": "值", "width": 517.0, "height": "fit_content", @@ -9608,7 +9369,7 @@ "children": [ { "type": "frame", - "id": "n554", + "id": "n542", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -9641,7 +9402,7 @@ "children": [ { "type": "icon_font", - "id": "n555", + "id": "n543", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -9655,7 +9416,7 @@ }, { "type": "text", - "id": "n556", + "id": "n544", "name": "函数 · 3 句", "width": "fit_content", "height": "fit_content", @@ -9689,7 +9450,7 @@ }, { "type": "rectangle", - "id": "n557", + "id": "n545", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -9703,7 +9464,7 @@ }, { "type": "frame", - "id": "n558", + "id": "n546", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -9714,7 +9475,7 @@ "children": [ { "type": "frame", - "id": "n559", + "id": "n547", "name": "参数", "width": 66.0, "height": "fit_content", @@ -9728,7 +9489,7 @@ "children": [ { "type": "text", - "id": "n560", + "id": "n548", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -9749,7 +9510,7 @@ }, { "type": "rectangle", - "id": "n561", + "id": "n549", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -9763,7 +9524,7 @@ }, { "type": "frame", - "id": "n562", + "id": "n550", "name": "值", "width": 517.0, "height": "fit_content", @@ -9777,7 +9538,7 @@ "children": [ { "type": "text", - "id": "n563", + "id": "n551", "name": "id 变化时", "width": "fit_content", "height": "fit_content", @@ -9810,475 +9571,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n564", - "name": "Prop / 改动", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n565", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n566", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n567", - "name": "改动", - "width": "fit_content", - "height": "fit_content", - "content": "改动", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n568", - "name": "1 个", - "width": "fit_content", - "height": "fit_content", - "content": "1 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n569", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n570", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n571", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n572", - "name": "改了", - "width": 116.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n573", - "name": "改了", - "width": "fit_content", - "height": "fit_content", - "content": "改了", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n574", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n575", - "name": "写法", - "width": 467.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n576", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n577", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n578", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n579", - "name": "改了", - "width": 116.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n580", - "name": "状态 messages", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "状态 ", - "fill": "#cccccc" - }, - { - "text": "messages", - "fill": "#9cdcfe" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n581", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n582", - "name": "写法", - "width": 467.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n583", - "name": "setMessages(m => [...m, e.data])", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "setMessages", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "m", - "fill": "#9cdcfe" - }, - { - "text": " => [...", - "fill": "#cccccc" - }, - { - "text": "m", - "fill": "#9cdcfe" - }, - { - "text": ", ", - "fill": "#cccccc" - }, - { - "text": "e", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "data", - "fill": "#9cdcfe" - }, - { - "text": "])", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "frame", - "id": "n584", - "name": "Prop / 清理函数", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n585", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n586", - "name": "清理函数", - "width": "fit_content", - "height": "fit_content", - "content": "清理函数", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n587", - "name": "ws.close()", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "ws", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "close", - "fill": "#dcdcaa" - }, - { - "text": "()", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] } ] }, { "type": "frame", - "id": "n588", + "id": "n552", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -10289,7 +9587,7 @@ "children": [ { "type": "frame", - "id": "n589", + "id": "n553", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -10302,7 +9600,7 @@ "children": [ { "type": "icon_font", - "id": "n590", + "id": "n554", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -10318,7 +9616,7 @@ }, { "type": "frame", - "id": "n591", + "id": "n555", "name": "pencil", "width": 22.0, "height": 20.0, @@ -10331,7 +9629,7 @@ "children": [ { "type": "icon_font", - "id": "n592", + "id": "n556", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -10359,7 +9657,7 @@ }, { "type": "frame", - "id": "n593", + "id": "n557", "name": "Lines 20–21", "width": "fill_container", "height": "fit_content", @@ -10370,7 +9668,7 @@ "children": [ { "type": "frame", - "id": "n594", + "id": "n558", "name": "Code", "width": 600.0, "height": "fill_container", @@ -10386,7 +9684,7 @@ "children": [ { "type": "frame", - "id": "n595", + "id": "n559", "name": "Line 20", "width": "fill_container", "height": 20.0, @@ -10397,7 +9695,7 @@ "children": [ { "type": "frame", - "id": "n596", + "id": "n560", "name": "Number", "width": 44.0, "height": 20.0, @@ -10409,7 +9707,7 @@ "children": [ { "type": "text", - "id": "n597", + "id": "n561", "name": "20", "width": "fit_content", "height": "fit_content", @@ -10430,7 +9728,7 @@ }, { "type": "frame", - "id": "n598", + "id": "n562", "name": "Margin", "width": 41.66, "height": 20.0, @@ -10438,7 +9736,7 @@ }, { "type": "text", - "id": "n599", + "id": "n563", "name": "return { messages }", "width": "fit_content", "height": "fit_content", @@ -10488,7 +9786,7 @@ }, { "type": "frame", - "id": "n600", + "id": "n564", "name": "Line 21", "width": "fill_container", "height": 20.0, @@ -10499,7 +9797,7 @@ "children": [ { "type": "frame", - "id": "n601", + "id": "n565", "name": "Number", "width": 44.0, "height": 20.0, @@ -10511,7 +9809,7 @@ "children": [ { "type": "text", - "id": "n602", + "id": "n566", "name": "21", "width": "fit_content", "height": "fit_content", @@ -10532,7 +9830,7 @@ }, { "type": "frame", - "id": "n603", + "id": "n567", "name": "Margin", "width": 26.0, "height": 20.0, @@ -10540,7 +9838,7 @@ }, { "type": "text", - "id": "n604", + "id": "n568", "name": "}", "width": "fit_content", "height": "fit_content", @@ -10563,7 +9861,7 @@ }, { "type": "rectangle", - "id": "n605", + "id": "n569", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -10577,7 +9875,7 @@ }, { "type": "frame", - "id": "n606", + "id": "n570", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -10593,7 +9891,7 @@ "children": [ { "type": "frame", - "id": "n607", + "id": "n571", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -10609,7 +9907,7 @@ }, { "type": "frame", - "id": "n608", + "id": "n572", "name": "End", "width": "fill_container", "height": 28.0, @@ -10620,7 +9918,7 @@ "children": [ { "type": "frame", - "id": "n609", + "id": "n573", "name": "Code", "width": 600.0, "height": 28.0, @@ -10628,7 +9926,7 @@ }, { "type": "rectangle", - "id": "n610", + "id": "n574", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -10648,7 +9946,7 @@ }, { "type": "frame", - "id": "n611", + "id": "n575", "name": "Status", "width": "fill_container", "height": 26.0, @@ -10670,7 +9968,7 @@ "children": [ { "type": "frame", - "id": "n612", + "id": "n576", "name": "Branch", "width": "fit_content", "height": "fit_content", @@ -10681,7 +9979,7 @@ "children": [ { "type": "icon_font", - "id": "n613", + "id": "n577", "name": "git-branch", "iconFontName": "git-branch", "width": 13.0, @@ -10695,7 +9993,7 @@ }, { "type": "text", - "id": "n614", + "id": "n578", "name": "master", "width": "fit_content", "height": "fit_content", @@ -10716,7 +10014,7 @@ }, { "type": "frame", - "id": "n615", + "id": "n579", "name": "Right", "width": "fit_content", "height": "fit_content", @@ -10727,7 +10025,7 @@ "children": [ { "type": "text", - "id": "n616", + "id": "n580", "name": "代码阅读", "width": "fit_content", "height": "fit_content", @@ -10746,7 +10044,7 @@ }, { "type": "text", - "id": "n617", + "id": "n581", "name": "TypeScript JSX", "width": "fit_content", "height": "fit_content", @@ -10771,7 +10069,7 @@ }, { "type": "frame", - "id": "n618", + "id": "n582", "name": "Prototype / React 钩子 · 组件 Panel", "x": 1780.0, "y": 0.0, @@ -10789,7 +10087,7 @@ "children": [ { "type": "frame", - "id": "n619", + "id": "n583", "name": "Title bar", "width": "fill_container", "height": 36.0, @@ -10805,7 +10103,7 @@ "children": [ { "type": "frame", - "id": "n620", + "id": "n584", "name": "Lights", "width": "fit_content", "height": "fit_content", @@ -10816,7 +10114,7 @@ "children": [ { "type": "ellipse", - "id": "n621", + "id": "n585", "width": 12.0, "height": 12.0, "fill": [ @@ -10828,7 +10126,7 @@ }, { "type": "ellipse", - "id": "n622", + "id": "n586", "width": 12.0, "height": 12.0, "fill": [ @@ -10840,7 +10138,7 @@ }, { "type": "ellipse", - "id": "n623", + "id": "n587", "width": 12.0, "height": 12.0, "fill": [ @@ -10854,7 +10152,7 @@ }, { "type": "text", - "id": "n624", + "id": "n588", "name": "web — Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -10873,7 +10171,7 @@ }, { "type": "frame", - "id": "n625", + "id": "n589", "name": "Balance", "width": 52.0, "height": 12.0, @@ -10883,7 +10181,7 @@ }, { "type": "frame", - "id": "n626", + "id": "n590", "name": "Body", "width": "fill_container", "height": "fit_content", @@ -10900,7 +10198,7 @@ "children": [ { "type": "frame", - "id": "n627", + "id": "n591", "name": "Activity bar", "width": 48.0, "height": "fit_content", @@ -10916,7 +10214,7 @@ "children": [ { "type": "frame", - "id": "n628", + "id": "n592", "name": "Item / files", "width": 48.0, "height": 42.0, @@ -10928,7 +10226,7 @@ "children": [ { "type": "icon_font", - "id": "n629", + "id": "n593", "name": "files", "iconFontName": "files", "width": 22.0, @@ -10944,7 +10242,7 @@ }, { "type": "frame", - "id": "n630", + "id": "n594", "name": "Item / search", "width": 48.0, "height": 42.0, @@ -10956,7 +10254,7 @@ "children": [ { "type": "icon_font", - "id": "n631", + "id": "n595", "name": "search", "iconFontName": "search", "width": 22.0, @@ -10972,7 +10270,7 @@ }, { "type": "frame", - "id": "n632", + "id": "n596", "name": "Item / git-branch", "width": 48.0, "height": 42.0, @@ -10984,7 +10282,7 @@ "children": [ { "type": "icon_font", - "id": "n633", + "id": "n597", "name": "git-branch", "iconFontName": "git-branch", "width": 22.0, @@ -11000,7 +10298,7 @@ }, { "type": "frame", - "id": "n634", + "id": "n598", "name": "Item / play", "width": 48.0, "height": 42.0, @@ -11012,7 +10310,7 @@ "children": [ { "type": "icon_font", - "id": "n635", + "id": "n599", "name": "play", "iconFontName": "play", "width": 22.0, @@ -11028,7 +10326,7 @@ }, { "type": "frame", - "id": "n636", + "id": "n600", "name": "Item / monitor", "width": 48.0, "height": 42.0, @@ -11040,7 +10338,7 @@ "children": [ { "type": "icon_font", - "id": "n637", + "id": "n601", "name": "monitor", "iconFontName": "monitor", "width": 22.0, @@ -11056,7 +10354,7 @@ }, { "type": "frame", - "id": "n638", + "id": "n602", "name": "Item / blocks", "width": 48.0, "height": 42.0, @@ -11068,7 +10366,7 @@ "children": [ { "type": "icon_font", - "id": "n639", + "id": "n603", "name": "blocks", "iconFontName": "blocks", "width": 22.0, @@ -11084,7 +10382,7 @@ }, { "type": "frame", - "id": "n640", + "id": "n604", "name": "Item / rocket", "width": 48.0, "height": 42.0, @@ -11096,7 +10394,7 @@ "children": [ { "type": "icon_font", - "id": "n641", + "id": "n605", "name": "rocket", "iconFontName": "rocket", "width": 22.0, @@ -11112,7 +10410,7 @@ }, { "type": "frame", - "id": "n642", + "id": "n606", "name": "Item / book-open-text", "width": 48.0, "height": 42.0, @@ -11124,7 +10422,7 @@ "children": [ { "type": "rectangle", - "id": "n643", + "id": "n607", "name": "Active bar", "width": 2.0, "height": 42.0, @@ -11138,7 +10436,7 @@ }, { "type": "icon_font", - "id": "n644", + "id": "n608", "name": "book-open-text", "iconFontName": "book-open-text", "width": 22.0, @@ -11156,7 +10454,7 @@ }, { "type": "frame", - "id": "n645", + "id": "n609", "name": "Sidebar", "width": 250.0, "height": "fit_content", @@ -11172,7 +10470,7 @@ "children": [ { "type": "frame", - "id": "n646", + "id": "n610", "name": "Header", "width": "fill_container", "height": 34.0, @@ -11190,7 +10488,7 @@ "children": [ { "type": "text", - "id": "n647", + "id": "n611", "name": "代码阅读", "width": "fit_content", "height": "fit_content", @@ -11209,7 +10507,7 @@ }, { "type": "frame", - "id": "n648", + "id": "n612", "name": "Actions", "width": "fit_content", "height": "fit_content", @@ -11220,7 +10518,7 @@ "children": [ { "type": "icon_font", - "id": "n649", + "id": "n613", "name": "git-pull-request", "iconFontName": "git-pull-request", "width": 14.0, @@ -11234,7 +10532,7 @@ }, { "type": "icon_font", - "id": "n650", + "id": "n614", "name": "file-plus", "iconFontName": "file-plus", "width": 14.0, @@ -11248,7 +10546,7 @@ }, { "type": "icon_font", - "id": "n651", + "id": "n615", "name": "refresh-cw", "iconFontName": "refresh-cw", "width": 14.0, @@ -11266,7 +10564,7 @@ }, { "type": "frame", - "id": "n652", + "id": "n616", "name": "Tree", "width": "fill_container", "height": "fit_content", @@ -11282,7 +10580,7 @@ "children": [ { "type": "frame", - "id": "n653", + "id": "n617", "name": "src", "width": "fill_container", "height": 26.0, @@ -11299,7 +10597,7 @@ "children": [ { "type": "icon_font", - "id": "n654", + "id": "n618", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -11313,7 +10611,7 @@ }, { "type": "icon_font", - "id": "n655", + "id": "n619", "name": "folder", "iconFontName": "folder", "width": 15.0, @@ -11327,7 +10625,7 @@ }, { "type": "text", - "id": "n656", + "id": "n620", "name": "src", "width": "fit_content", "height": "fit_content", @@ -11348,7 +10646,7 @@ }, { "type": "frame", - "id": "n657", + "id": "n621", "name": "chat", "width": "fill_container", "height": 26.0, @@ -11365,7 +10663,7 @@ "children": [ { "type": "icon_font", - "id": "n658", + "id": "n622", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -11379,7 +10677,7 @@ }, { "type": "icon_font", - "id": "n659", + "id": "n623", "name": "folder", "iconFontName": "folder", "width": 15.0, @@ -11393,7 +10691,7 @@ }, { "type": "text", - "id": "n660", + "id": "n624", "name": "chat", "width": "fit_content", "height": "fit_content", @@ -11414,7 +10712,7 @@ }, { "type": "frame", - "id": "n661", + "id": "n625", "name": "Panel.tsx", "width": "fill_container", "height": 26.0, @@ -11437,7 +10735,7 @@ "children": [ { "type": "frame", - "id": "n662", + "id": "n626", "name": "Twisty", "width": 14.0, "height": 14.0, @@ -11445,7 +10743,7 @@ }, { "type": "icon_font", - "id": "n663", + "id": "n627", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -11459,7 +10757,7 @@ }, { "type": "text", - "id": "n664", + "id": "n628", "name": "Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -11480,7 +10778,7 @@ }, { "type": "frame", - "id": "n665", + "id": "n629", "name": "Row.tsx", "width": "fill_container", "height": 26.0, @@ -11497,7 +10795,7 @@ "children": [ { "type": "frame", - "id": "n666", + "id": "n630", "name": "Twisty", "width": 14.0, "height": 14.0, @@ -11505,7 +10803,7 @@ }, { "type": "icon_font", - "id": "n667", + "id": "n631", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -11519,7 +10817,7 @@ }, { "type": "text", - "id": "n668", + "id": "n632", "name": "Row.tsx", "width": "fit_content", "height": "fit_content", @@ -11540,7 +10838,7 @@ }, { "type": "frame", - "id": "n669", + "id": "n633", "name": "Spinner.tsx", "width": "fill_container", "height": 26.0, @@ -11557,7 +10855,7 @@ "children": [ { "type": "frame", - "id": "n670", + "id": "n634", "name": "Twisty", "width": 14.0, "height": 14.0, @@ -11565,7 +10863,7 @@ }, { "type": "icon_font", - "id": "n671", + "id": "n635", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -11579,7 +10877,7 @@ }, { "type": "text", - "id": "n672", + "id": "n636", "name": "Spinner.tsx", "width": "fit_content", "height": "fit_content", @@ -11600,7 +10898,7 @@ }, { "type": "frame", - "id": "n673", + "id": "n637", "name": "lib", "width": "fill_container", "height": 26.0, @@ -11617,7 +10915,7 @@ "children": [ { "type": "icon_font", - "id": "n674", + "id": "n638", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -11631,7 +10929,7 @@ }, { "type": "icon_font", - "id": "n675", + "id": "n639", "name": "folder", "iconFontName": "folder", "width": 15.0, @@ -11645,7 +10943,7 @@ }, { "type": "text", - "id": "n676", + "id": "n640", "name": "lib", "width": "fit_content", "height": "fit_content", @@ -11666,7 +10964,7 @@ }, { "type": "frame", - "id": "n677", + "id": "n641", "name": "App.tsx", "width": "fill_container", "height": 26.0, @@ -11683,7 +10981,7 @@ "children": [ { "type": "frame", - "id": "n678", + "id": "n642", "name": "Twisty", "width": 14.0, "height": 14.0, @@ -11691,7 +10989,7 @@ }, { "type": "icon_font", - "id": "n679", + "id": "n643", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -11705,7 +11003,7 @@ }, { "type": "text", - "id": "n680", + "id": "n644", "name": "App.tsx", "width": "fit_content", "height": "fit_content", @@ -11730,7 +11028,7 @@ }, { "type": "frame", - "id": "n681", + "id": "n645", "name": "Editor", "width": "fill_container", "height": "fit_content", @@ -11746,7 +11044,7 @@ "children": [ { "type": "frame", - "id": "n682", + "id": "n646", "name": "Group heads", "width": "fill_container", "height": "fit_content", @@ -11757,7 +11055,7 @@ "children": [ { "type": "frame", - "id": "n683", + "id": "n647", "name": "Editor group 1", "width": 600.0, "height": "fit_content", @@ -11767,7 +11065,7 @@ "children": [ { "type": "frame", - "id": "n684", + "id": "n648", "name": "Editor title", "width": "fill_container", "height": 36.0, @@ -11785,7 +11083,7 @@ "children": [ { "type": "frame", - "id": "n685", + "id": "n649", "name": "Tab", "width": 140.0, "height": "fill_container", @@ -11801,7 +11099,7 @@ "children": [ { "type": "rectangle", - "id": "n686", + "id": "n650", "name": "Active", "width": "fill_container", "height": 2.0, @@ -11815,7 +11113,7 @@ }, { "type": "frame", - "id": "n687", + "id": "n651", "name": "Tab label", "width": "fill_container", "height": "fill_container", @@ -11830,7 +11128,7 @@ "children": [ { "type": "icon_font", - "id": "n688", + "id": "n652", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -11844,7 +11142,7 @@ }, { "type": "text", - "id": "n689", + "id": "n653", "name": "Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -11869,7 +11167,7 @@ }, { "type": "frame", - "id": "n690", + "id": "n654", "name": "Breadcrumb", "width": "fill_container", "height": "fit_content", @@ -11884,7 +11182,7 @@ "children": [ { "type": "text", - "id": "n691", + "id": "n655", "name": "src", "width": "fit_content", "height": "fit_content", @@ -11903,7 +11201,7 @@ }, { "type": "text", - "id": "n692", + "id": "n656", "name": "/", "width": "fit_content", "height": "fit_content", @@ -11922,7 +11220,7 @@ }, { "type": "text", - "id": "n693", + "id": "n657", "name": "chat", "width": "fit_content", "height": "fit_content", @@ -11941,7 +11239,7 @@ }, { "type": "text", - "id": "n694", + "id": "n658", "name": "/", "width": "fit_content", "height": "fit_content", @@ -11960,7 +11258,7 @@ }, { "type": "text", - "id": "n695", + "id": "n659", "name": "Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -11981,7 +11279,7 @@ }, { "type": "frame", - "id": "n696", + "id": "n660", "name": "Filter room", "width": "fill_container", "height": 36.0, @@ -11991,7 +11289,7 @@ }, { "type": "rectangle", - "id": "n697", + "id": "n661", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -12005,7 +11303,7 @@ }, { "type": "frame", - "id": "n698", + "id": "n662", "name": "Editor group 2", "width": "fill_container", "height": "fit_content", @@ -12015,7 +11313,7 @@ "children": [ { "type": "frame", - "id": "n699", + "id": "n663", "name": "Editor title", "width": "fill_container", "height": 36.0, @@ -12033,7 +11331,7 @@ "children": [ { "type": "frame", - "id": "n700", + "id": "n664", "name": "Tab", "width": 140.0, "height": "fill_container", @@ -12049,7 +11347,7 @@ "children": [ { "type": "rectangle", - "id": "n701", + "id": "n665", "name": "Active", "width": "fill_container", "height": 2.0, @@ -12063,7 +11361,7 @@ }, { "type": "frame", - "id": "n702", + "id": "n666", "name": "Tab label", "width": "fill_container", "height": "fill_container", @@ -12078,7 +11376,7 @@ "children": [ { "type": "icon_font", - "id": "n703", + "id": "n667", "name": "atom", "iconFontName": "atom", "width": 14.0, @@ -12092,7 +11390,7 @@ }, { "type": "text", - "id": "n704", + "id": "n668", "name": "Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -12115,7 +11413,7 @@ }, { "type": "frame", - "id": "n705", + "id": "n669", "name": "Mode", "width": "fit_content", "height": "fit_content", @@ -12146,7 +11444,7 @@ "children": [ { "type": "frame", - "id": "n706", + "id": "n670", "name": "Seg / 编辑", "width": "fit_content", "height": "fit_content", @@ -12162,7 +11460,7 @@ "children": [ { "type": "icon_font", - "id": "n707", + "id": "n671", "name": "pencil", "iconFontName": "pencil", "width": 13.0, @@ -12176,7 +11474,7 @@ }, { "type": "text", - "id": "n708", + "id": "n672", "name": "编辑", "width": "fit_content", "height": "fit_content", @@ -12197,7 +11495,7 @@ }, { "type": "frame", - "id": "n709", + "id": "n673", "name": "Seg / 预览", "width": "fit_content", "height": "fit_content", @@ -12219,7 +11517,7 @@ "children": [ { "type": "icon_font", - "id": "n710", + "id": "n674", "name": "eye", "iconFontName": "eye", "width": 13.0, @@ -12233,7 +11531,7 @@ }, { "type": "text", - "id": "n711", + "id": "n675", "name": "预览", "width": "fit_content", "height": "fit_content", @@ -12256,7 +11554,7 @@ }, { "type": "frame", - "id": "n712", + "id": "n676", "name": "Pad", "width": 8.0, "height": 8.0, @@ -12266,7 +11564,7 @@ }, { "type": "frame", - "id": "n713", + "id": "n677", "name": "Breadcrumb", "width": "fill_container", "height": "fit_content", @@ -12281,7 +11579,7 @@ "children": [ { "type": "text", - "id": "n714", + "id": "n678", "name": "src", "width": "fit_content", "height": "fit_content", @@ -12300,7 +11598,7 @@ }, { "type": "text", - "id": "n715", + "id": "n679", "name": "/", "width": "fit_content", "height": "fit_content", @@ -12319,7 +11617,7 @@ }, { "type": "text", - "id": "n716", + "id": "n680", "name": "chat", "width": "fit_content", "height": "fit_content", @@ -12338,7 +11636,7 @@ }, { "type": "text", - "id": "n717", + "id": "n681", "name": "/", "width": "fit_content", "height": "fit_content", @@ -12357,7 +11655,7 @@ }, { "type": "text", - "id": "n718", + "id": "n682", "name": "Panel.tsx", "width": "fit_content", "height": "fit_content", @@ -12378,7 +11676,7 @@ }, { "type": "frame", - "id": "n719", + "id": "n683", "name": "Filter", "width": "fill_container", "height": 36.0, @@ -12393,7 +11691,7 @@ "children": [ { "type": "text", - "id": "n720", + "id": "n684", "name": "筛选", "width": "fit_content", "height": "fit_content", @@ -12412,7 +11710,7 @@ }, { "type": "frame", - "id": "n721", + "id": "n685", "name": "Chip / 种类", "width": "fit_content", "height": 24.0, @@ -12434,7 +11732,7 @@ "children": [ { "type": "text", - "id": "n722", + "id": "n686", "name": "种类", "width": "fit_content", "height": "fit_content", @@ -12453,7 +11751,7 @@ }, { "type": "icon_font", - "id": "n723", + "id": "n687", "name": "chevron-down", "iconFontName": "chevron-down", "width": 12.0, @@ -12469,7 +11767,7 @@ }, { "type": "frame", - "id": "n724", + "id": "n688", "name": "Chip / 访问级别", "width": "fit_content", "height": 24.0, @@ -12491,7 +11789,7 @@ "children": [ { "type": "text", - "id": "n725", + "id": "n689", "name": "访问级别", "width": "fit_content", "height": "fit_content", @@ -12510,7 +11808,7 @@ }, { "type": "icon_font", - "id": "n726", + "id": "n690", "name": "chevron-down", "iconFontName": "chevron-down", "width": 12.0, @@ -12526,7 +11824,7 @@ }, { "type": "frame", - "id": "n727", + "id": "n691", "name": "Spacer", "width": "fill_container", "height": 8.0, @@ -12534,7 +11832,7 @@ }, { "type": "text", - "id": "n728", + "id": "n692", "name": "6 块", "width": "fit_content", "height": "fit_content", @@ -12559,7 +11857,7 @@ }, { "type": "frame", - "id": "n729", + "id": "n693", "name": "Lines 23–23", "width": "fill_container", "height": "fit_content", @@ -12570,7 +11868,7 @@ "children": [ { "type": "frame", - "id": "n730", + "id": "n694", "name": "Code", "width": 600.0, "height": "fill_container", @@ -12586,7 +11884,7 @@ "children": [ { "type": "frame", - "id": "n731", + "id": "n695", "name": "Line 23", "width": "fill_container", "height": 20.0, @@ -12597,7 +11895,7 @@ "children": [ { "type": "frame", - "id": "n732", + "id": "n696", "name": "Number", "width": 44.0, "height": 20.0, @@ -12609,7 +11907,7 @@ "children": [ { "type": "text", - "id": "n733", + "id": "n697", "name": "23", "width": "fit_content", "height": "fit_content", @@ -12630,7 +11928,7 @@ }, { "type": "frame", - "id": "n734", + "id": "n698", "name": "Margin", "width": 26.0, "height": 20.0, @@ -12638,7 +11936,7 @@ }, { "type": "text", - "id": "n735", + "id": "n699", "name": "export function Panel({ id, onClose }: P", "width": "fit_content", "height": "fit_content", @@ -12734,7 +12032,7 @@ }, { "type": "rectangle", - "id": "n736", + "id": "n700", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -12748,7 +12046,7 @@ }, { "type": "frame", - "id": "n737", + "id": "n701", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -12764,7 +12062,7 @@ "children": [ { "type": "frame", - "id": "n738", + "id": "n702", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -12775,7 +12073,7 @@ "children": [ { "type": "frame", - "id": "n739", + "id": "n703", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -12791,7 +12089,7 @@ "children": [ { "type": "frame", - "id": "n740", + "id": "n704", "name": "React 组件 / Panel", "width": "fill_container", "height": "fit_content", @@ -12824,7 +12122,7 @@ "children": [ { "type": "frame", - "id": "n741", + "id": "n705", "name": "Fold", "width": 14.0, "height": 20.0, @@ -12836,7 +12134,7 @@ "children": [ { "type": "icon_font", - "id": "n742", + "id": "n706", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -12852,7 +12150,7 @@ }, { "type": "frame", - "id": "n743", + "id": "n707", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -12863,7 +12161,7 @@ "children": [ { "type": "frame", - "id": "n744", + "id": "n708", "name": "Concept / React 组件", "width": 20.0, "height": 20.0, @@ -12875,7 +12173,7 @@ "children": [ { "type": "icon_font", - "id": "n745", + "id": "n709", "name": "atom", "iconFontName": "atom", "width": 16.0, @@ -12893,7 +12191,7 @@ }, { "type": "frame", - "id": "n746", + "id": "n710", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -12903,7 +12201,7 @@ "children": [ { "type": "frame", - "id": "n747", + "id": "n711", "name": "Prop / 名称", "width": "fill_container", "height": "fit_content", @@ -12914,7 +12212,7 @@ "children": [ { "type": "frame", - "id": "n748", + "id": "n712", "name": "Key", "width": 76.0, "height": 20.0, @@ -12925,7 +12223,7 @@ "children": [ { "type": "text", - "id": "n749", + "id": "n713", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -12946,7 +12244,7 @@ }, { "type": "frame", - "id": "n750", + "id": "n714", "name": "Value", "width": "fill_container", "height": 20.0, @@ -12957,7 +12255,7 @@ "children": [ { "type": "text", - "id": "n751", + "id": "n715", "name": "Panel", "width": "fit_content", "height": "fit_content", @@ -12976,7 +12274,7 @@ }, { "type": "frame", - "id": "n752", + "id": "n716", "name": "Tag / 具名导出", "width": "fit_content", "height": 18.0, @@ -13007,7 +12305,7 @@ "children": [ { "type": "text", - "id": "n753", + "id": "n717", "name": "具名导出", "width": "fit_content", "height": "fit_content", @@ -13032,7 +12330,7 @@ }, { "type": "frame", - "id": "n754", + "id": "n718", "name": "Prop / 构造参数", "width": "fill_container", "height": "fit_content", @@ -13043,7 +12341,7 @@ "children": [ { "type": "frame", - "id": "n755", + "id": "n719", "name": "Key", "width": 76.0, "height": 20.0, @@ -13054,7 +12352,7 @@ "children": [ { "type": "icon_font", - "id": "n756", + "id": "n720", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -13068,7 +12366,7 @@ }, { "type": "text", - "id": "n757", + "id": "n721", "name": "构造参数", "width": "fit_content", "height": "fit_content", @@ -13089,7 +12387,7 @@ }, { "type": "text", - "id": "n758", + "id": "n722", "name": "2 个 · 类型 Props", "width": "fit_content", "height": "fit_content", @@ -13120,7 +12418,7 @@ }, { "type": "frame", - "id": "n759", + "id": "n723", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -13136,7 +12434,7 @@ "children": [ { "type": "frame", - "id": "n760", + "id": "n724", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -13156,7 +12454,7 @@ "children": [ { "type": "frame", - "id": "n761", + "id": "n725", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -13173,7 +12471,7 @@ "children": [ { "type": "frame", - "id": "n762", + "id": "n726", "name": "名称", "width": 115.0, "height": "fit_content", @@ -13187,7 +12485,7 @@ "children": [ { "type": "text", - "id": "n763", + "id": "n727", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -13208,7 +12506,7 @@ }, { "type": "rectangle", - "id": "n764", + "id": "n728", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13222,7 +12520,7 @@ }, { "type": "frame", - "id": "n765", + "id": "n729", "name": "类型", "width": 79.0, "height": "fit_content", @@ -13236,7 +12534,7 @@ "children": [ { "type": "text", - "id": "n766", + "id": "n730", "name": "类型", "width": "fit_content", "height": "fit_content", @@ -13257,7 +12555,7 @@ }, { "type": "rectangle", - "id": "n767", + "id": "n731", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13271,7 +12569,7 @@ }, { "type": "frame", - "id": "n768", + "id": "n732", "name": "默认值", "width": 56.0, "height": "fit_content", @@ -13285,7 +12583,7 @@ "children": [ { "type": "text", - "id": "n769", + "id": "n733", "name": "默认值", "width": "fit_content", "height": "fit_content", @@ -13306,7 +12604,7 @@ }, { "type": "rectangle", - "id": "n770", + "id": "n734", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13320,7 +12618,7 @@ }, { "type": "frame", - "id": "n771", + "id": "n735", "name": "必填", "width": 373.0, "height": "fit_content", @@ -13334,7 +12632,7 @@ "children": [ { "type": "text", - "id": "n772", + "id": "n736", "name": "必填", "width": "fit_content", "height": "fit_content", @@ -13357,7 +12655,7 @@ }, { "type": "rectangle", - "id": "n773", + "id": "n737", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -13371,7 +12669,7 @@ }, { "type": "frame", - "id": "n774", + "id": "n738", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -13382,7 +12680,7 @@ "children": [ { "type": "frame", - "id": "n775", + "id": "n739", "name": "名称", "width": 115.0, "height": "fit_content", @@ -13396,7 +12694,7 @@ "children": [ { "type": "frame", - "id": "n776", + "id": "n740", "name": "Name", "width": "fit_content", "height": 20.0, @@ -13407,7 +12705,7 @@ "children": [ { "type": "text", - "id": "n777", + "id": "n741", "name": "id", "width": "fit_content", "height": "fit_content", @@ -13430,7 +12728,7 @@ }, { "type": "rectangle", - "id": "n778", + "id": "n742", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13444,7 +12742,7 @@ }, { "type": "frame", - "id": "n779", + "id": "n743", "name": "类型", "width": 79.0, "height": "fit_content", @@ -13458,7 +12756,7 @@ "children": [ { "type": "text", - "id": "n780", + "id": "n744", "name": "字符串", "width": "fit_content", "height": "fit_content", @@ -13479,7 +12777,7 @@ }, { "type": "rectangle", - "id": "n781", + "id": "n745", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13493,7 +12791,7 @@ }, { "type": "frame", - "id": "n782", + "id": "n746", "name": "默认值", "width": 56.0, "height": "fit_content", @@ -13507,7 +12805,7 @@ "children": [ { "type": "text", - "id": "n783", + "id": "n747", "name": "—", "width": "fit_content", "height": "fit_content", @@ -13528,7 +12826,7 @@ }, { "type": "rectangle", - "id": "n784", + "id": "n748", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13542,7 +12840,7 @@ }, { "type": "frame", - "id": "n785", + "id": "n749", "name": "必填", "width": 373.0, "height": "fit_content", @@ -13556,7 +12854,7 @@ "children": [ { "type": "text", - "id": "n786", + "id": "n750", "name": "是", "width": "fit_content", "height": "fit_content", @@ -13579,7 +12877,7 @@ }, { "type": "rectangle", - "id": "n787", + "id": "n751", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -13593,7 +12891,7 @@ }, { "type": "frame", - "id": "n788", + "id": "n752", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -13604,7 +12902,7 @@ "children": [ { "type": "frame", - "id": "n789", + "id": "n753", "name": "名称", "width": 115.0, "height": "fit_content", @@ -13618,7 +12916,7 @@ "children": [ { "type": "frame", - "id": "n790", + "id": "n754", "name": "Name", "width": "fit_content", "height": 20.0, @@ -13629,7 +12927,7 @@ "children": [ { "type": "text", - "id": "n791", + "id": "n755", "name": "onClose", "width": "fit_content", "height": "fit_content", @@ -13648,7 +12946,7 @@ }, { "type": "frame", - "id": "n792", + "id": "n756", "name": "Tag / 回调", "width": "fit_content", "height": 18.0, @@ -13679,7 +12977,7 @@ "children": [ { "type": "text", - "id": "n793", + "id": "n757", "name": "回调", "width": "fit_content", "height": "fit_content", @@ -13704,7 +13002,7 @@ }, { "type": "rectangle", - "id": "n794", + "id": "n758", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13718,7 +13016,7 @@ }, { "type": "frame", - "id": "n795", + "id": "n759", "name": "类型", "width": 79.0, "height": "fit_content", @@ -13732,7 +13030,7 @@ "children": [ { "type": "text", - "id": "n796", + "id": "n760", "name": "() => 无", "width": "fit_content", "height": "fit_content", @@ -13762,7 +13060,7 @@ }, { "type": "rectangle", - "id": "n797", + "id": "n761", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13776,7 +13074,7 @@ }, { "type": "frame", - "id": "n798", + "id": "n762", "name": "默认值", "width": 56.0, "height": "fit_content", @@ -13790,7 +13088,7 @@ "children": [ { "type": "text", - "id": "n799", + "id": "n763", "name": "—", "width": "fit_content", "height": "fit_content", @@ -13811,7 +13109,7 @@ }, { "type": "rectangle", - "id": "n800", + "id": "n764", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -13825,7 +13123,7 @@ }, { "type": "frame", - "id": "n801", + "id": "n765", "name": "必填", "width": 373.0, "height": "fit_content", @@ -13839,7 +13137,7 @@ "children": [ { "type": "text", - "id": "n802", + "id": "n766", "name": "是", "width": "fit_content", "height": "fit_content", @@ -13868,7 +13166,7 @@ }, { "type": "frame", - "id": "n803", + "id": "n767", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -13879,7 +13177,7 @@ "children": [ { "type": "frame", - "id": "n804", + "id": "n768", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -13892,7 +13190,7 @@ "children": [ { "type": "icon_font", - "id": "n805", + "id": "n769", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -13908,7 +13206,7 @@ }, { "type": "frame", - "id": "n806", + "id": "n770", "name": "pencil", "width": 22.0, "height": 20.0, @@ -13921,7 +13219,7 @@ "children": [ { "type": "icon_font", - "id": "n807", + "id": "n771", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -13949,7 +13247,7 @@ }, { "type": "frame", - "id": "n808", + "id": "n772", "name": "Lines 24–24", "width": "fill_container", "height": "fit_content", @@ -13960,7 +13258,7 @@ "children": [ { "type": "frame", - "id": "n809", + "id": "n773", "name": "Code", "width": 600.0, "height": "fill_container", @@ -13976,7 +13274,7 @@ "children": [ { "type": "frame", - "id": "n810", + "id": "n774", "name": "Line 24", "width": "fill_container", "height": 20.0, @@ -13987,7 +13285,7 @@ "children": [ { "type": "frame", - "id": "n811", + "id": "n775", "name": "Number", "width": 44.0, "height": 20.0, @@ -13999,7 +13297,7 @@ "children": [ { "type": "text", - "id": "n812", + "id": "n776", "name": "24", "width": "fit_content", "height": "fit_content", @@ -14020,7 +13318,7 @@ }, { "type": "frame", - "id": "n813", + "id": "n777", "name": "Margin", "width": 41.66, "height": 20.0, @@ -14028,7 +13326,7 @@ }, { "type": "text", - "id": "n814", + "id": "n778", "name": "const router = useRouter()", "width": "fit_content", "height": "fit_content", @@ -14076,7 +13374,7 @@ }, { "type": "rectangle", - "id": "n815", + "id": "n779", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -14090,7 +13388,7 @@ }, { "type": "frame", - "id": "n816", + "id": "n780", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -14106,7 +13404,7 @@ "children": [ { "type": "frame", - "id": "n817", + "id": "n781", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -14117,7 +13415,7 @@ "children": [ { "type": "frame", - "id": "n818", + "id": "n782", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -14128,7 +13426,7 @@ "children": [ { "type": "rectangle", - "id": "n819", + "id": "n783", "name": "Line", "width": 1.0, "height": "fill_container", @@ -14144,7 +13442,7 @@ }, { "type": "frame", - "id": "n820", + "id": "n784", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -14160,7 +13458,7 @@ "children": [ { "type": "frame", - "id": "n821", + "id": "n785", "name": "钩子 / useRouter · router", "width": "fill_container", "height": "fit_content", @@ -14193,7 +13491,7 @@ "children": [ { "type": "frame", - "id": "n822", + "id": "n786", "name": "Fold", "width": 14.0, "height": 20.0, @@ -14206,7 +13504,7 @@ }, { "type": "frame", - "id": "n823", + "id": "n787", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -14217,7 +13515,7 @@ "children": [ { "type": "frame", - "id": "n824", + "id": "n788", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -14229,7 +13527,7 @@ "children": [ { "type": "icon_font", - "id": "n825", + "id": "n789", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -14247,7 +13545,7 @@ }, { "type": "frame", - "id": "n826", + "id": "n790", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -14257,7 +13555,7 @@ "children": [ { "type": "frame", - "id": "n827", + "id": "n791", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -14268,9 +13566,9 @@ "children": [ { "type": "frame", - "id": "n828", + "id": "n792", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -14279,7 +13577,7 @@ "children": [ { "type": "text", - "id": "n829", + "id": "n793", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -14300,7 +13598,7 @@ }, { "type": "text", - "id": "n830", + "id": "n794", "name": "useRouter", "width": "fit_content", "height": "fit_content", @@ -14327,7 +13625,7 @@ }, { "type": "frame", - "id": "n831", + "id": "n795", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -14338,9 +13636,9 @@ "children": [ { "type": "frame", - "id": "n832", + "id": "n796", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -14349,7 +13647,7 @@ "children": [ { "type": "icon_font", - "id": "n833", + "id": "n797", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -14363,7 +13661,7 @@ }, { "type": "text", - "id": "n834", + "id": "n798", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -14384,7 +13682,7 @@ }, { "type": "text", - "id": "n835", + "id": "n799", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -14405,7 +13703,7 @@ }, { "type": "frame", - "id": "n836", + "id": "n800", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -14421,7 +13719,7 @@ "children": [ { "type": "frame", - "id": "n837", + "id": "n801", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -14441,7 +13739,7 @@ "children": [ { "type": "frame", - "id": "n838", + "id": "n802", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -14458,7 +13756,7 @@ "children": [ { "type": "frame", - "id": "n839", + "id": "n803", "name": "名称", "width": 66.0, "height": "fit_content", @@ -14472,7 +13770,7 @@ "children": [ { "type": "text", - "id": "n840", + "id": "n804", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -14493,7 +13791,7 @@ }, { "type": "rectangle", - "id": "n841", + "id": "n805", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -14507,7 +13805,7 @@ }, { "type": "frame", - "id": "n842", + "id": "n806", "name": "是什么", "width": 539.0, "height": "fit_content", @@ -14521,7 +13819,7 @@ "children": [ { "type": "text", - "id": "n843", + "id": "n807", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -14544,7 +13842,7 @@ }, { "type": "rectangle", - "id": "n844", + "id": "n808", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -14558,7 +13856,7 @@ }, { "type": "frame", - "id": "n845", + "id": "n809", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -14569,7 +13867,7 @@ "children": [ { "type": "frame", - "id": "n846", + "id": "n810", "name": "名称", "width": 66.0, "height": "fit_content", @@ -14583,7 +13881,7 @@ "children": [ { "type": "text", - "id": "n847", + "id": "n811", "name": "router", "width": "fit_content", "height": "fit_content", @@ -14604,7 +13902,7 @@ }, { "type": "rectangle", - "id": "n848", + "id": "n812", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -14618,7 +13916,7 @@ }, { "type": "frame", - "id": "n849", + "id": "n813", "name": "是什么", "width": 539.0, "height": "fit_content", @@ -14632,7 +13930,7 @@ "children": [ { "type": "text", - "id": "n850", + "id": "n814", "name": "路由器,用于页面跳转", "width": "fit_content", "height": "fit_content", @@ -14661,7 +13959,7 @@ }, { "type": "frame", - "id": "n851", + "id": "n815", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -14672,7 +13970,7 @@ "children": [ { "type": "frame", - "id": "n852", + "id": "n816", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -14685,7 +13983,7 @@ "children": [ { "type": "icon_font", - "id": "n853", + "id": "n817", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -14701,7 +13999,7 @@ }, { "type": "frame", - "id": "n854", + "id": "n818", "name": "pencil", "width": 22.0, "height": 20.0, @@ -14714,7 +14012,7 @@ "children": [ { "type": "icon_font", - "id": "n855", + "id": "n819", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -14742,7 +14040,7 @@ }, { "type": "frame", - "id": "n856", + "id": "n820", "name": "Lines 25–25", "width": "fill_container", "height": "fit_content", @@ -14753,7 +14051,7 @@ "children": [ { "type": "frame", - "id": "n857", + "id": "n821", "name": "Code", "width": 600.0, "height": "fill_container", @@ -14769,7 +14067,7 @@ "children": [ { "type": "frame", - "id": "n858", + "id": "n822", "name": "Line 25", "width": "fill_container", "height": 20.0, @@ -14780,7 +14078,7 @@ "children": [ { "type": "frame", - "id": "n859", + "id": "n823", "name": "Number", "width": 44.0, "height": 20.0, @@ -14792,7 +14090,7 @@ "children": [ { "type": "text", - "id": "n860", + "id": "n824", "name": "25", "width": "fit_content", "height": "fit_content", @@ -14813,7 +14111,7 @@ }, { "type": "frame", - "id": "n861", + "id": "n825", "name": "Margin", "width": 41.66, "height": 20.0, @@ -14821,7 +14119,7 @@ }, { "type": "text", - "id": "n862", + "id": "n826", "name": "const theme = useContext(ThemeContext)", "width": "fit_content", "height": "fit_content", @@ -14877,7 +14175,7 @@ }, { "type": "rectangle", - "id": "n863", + "id": "n827", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -14891,7 +14189,7 @@ }, { "type": "frame", - "id": "n864", + "id": "n828", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -14907,7 +14205,7 @@ "children": [ { "type": "frame", - "id": "n865", + "id": "n829", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -14918,7 +14216,7 @@ "children": [ { "type": "frame", - "id": "n866", + "id": "n830", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -14929,7 +14227,7 @@ "children": [ { "type": "rectangle", - "id": "n867", + "id": "n831", "name": "Line", "width": 1.0, "height": "fill_container", @@ -14945,7 +14243,7 @@ }, { "type": "frame", - "id": "n868", + "id": "n832", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -14961,7 +14259,7 @@ "children": [ { "type": "frame", - "id": "n869", + "id": "n833", "name": "钩子 / useContext · theme", "width": "fill_container", "height": "fit_content", @@ -14994,7 +14292,7 @@ "children": [ { "type": "frame", - "id": "n870", + "id": "n834", "name": "Fold", "width": 14.0, "height": 20.0, @@ -15007,7 +14305,7 @@ }, { "type": "frame", - "id": "n871", + "id": "n835", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -15018,7 +14316,7 @@ "children": [ { "type": "frame", - "id": "n872", + "id": "n836", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -15030,7 +14328,7 @@ "children": [ { "type": "icon_font", - "id": "n873", + "id": "n837", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -15046,7 +14344,7 @@ }, { "type": "frame", - "id": "n874", + "id": "n838", "name": "Concept / 上下文", "width": 20.0, "height": 20.0, @@ -15058,7 +14356,7 @@ "children": [ { "type": "icon_font", - "id": "n875", + "id": "n839", "name": "share-2", "iconFontName": "share-2", "width": 16.0, @@ -15076,7 +14374,7 @@ }, { "type": "frame", - "id": "n876", + "id": "n840", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -15086,7 +14384,7 @@ "children": [ { "type": "frame", - "id": "n877", + "id": "n841", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -15097,9 +14395,9 @@ "children": [ { "type": "frame", - "id": "n878", + "id": "n842", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -15108,7 +14406,7 @@ "children": [ { "type": "text", - "id": "n879", + "id": "n843", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -15129,7 +14427,7 @@ }, { "type": "text", - "id": "n880", + "id": "n844", "name": "useContext", "width": "fit_content", "height": "fit_content", @@ -15156,7 +14454,7 @@ }, { "type": "frame", - "id": "n881", + "id": "n845", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -15167,9 +14465,9 @@ "children": [ { "type": "frame", - "id": "n882", + "id": "n846", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -15178,7 +14476,7 @@ "children": [ { "type": "icon_font", - "id": "n883", + "id": "n847", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -15192,7 +14490,7 @@ }, { "type": "text", - "id": "n884", + "id": "n848", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -15213,7 +14511,7 @@ }, { "type": "text", - "id": "n885", + "id": "n849", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -15234,7 +14532,7 @@ }, { "type": "frame", - "id": "n886", + "id": "n850", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -15250,7 +14548,7 @@ "children": [ { "type": "frame", - "id": "n887", + "id": "n851", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -15270,7 +14568,7 @@ "children": [ { "type": "frame", - "id": "n888", + "id": "n852", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -15287,7 +14585,7 @@ "children": [ { "type": "frame", - "id": "n889", + "id": "n853", "name": "参数", "width": 74.0, "height": "fit_content", @@ -15301,7 +14599,7 @@ "children": [ { "type": "text", - "id": "n890", + "id": "n854", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -15322,7 +14620,7 @@ }, { "type": "rectangle", - "id": "n891", + "id": "n855", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -15336,7 +14634,7 @@ }, { "type": "frame", - "id": "n892", + "id": "n856", "name": "值", "width": 509.0, "height": "fit_content", @@ -15350,7 +14648,7 @@ "children": [ { "type": "text", - "id": "n893", + "id": "n857", "name": "值", "width": "fit_content", "height": "fit_content", @@ -15373,7 +14671,7 @@ }, { "type": "rectangle", - "id": "n894", + "id": "n858", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -15387,7 +14685,7 @@ }, { "type": "frame", - "id": "n895", + "id": "n859", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -15398,7 +14696,7 @@ "children": [ { "type": "frame", - "id": "n896", + "id": "n860", "name": "参数", "width": 74.0, "height": "fit_content", @@ -15412,7 +14710,7 @@ "children": [ { "type": "text", - "id": "n897", + "id": "n861", "name": "context", "width": "fit_content", "height": "fit_content", @@ -15433,7 +14731,7 @@ }, { "type": "rectangle", - "id": "n898", + "id": "n862", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -15447,7 +14745,7 @@ }, { "type": "frame", - "id": "n899", + "id": "n863", "name": "值", "width": 509.0, "height": "fit_content", @@ -15461,7 +14759,7 @@ "children": [ { "type": "text", - "id": "n900", + "id": "n864", "name": "ThemeContext", "width": "fit_content", "height": "fit_content", @@ -15494,7 +14792,7 @@ }, { "type": "frame", - "id": "n901", + "id": "n865", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -15505,9 +14803,9 @@ "children": [ { "type": "frame", - "id": "n902", + "id": "n866", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -15516,7 +14814,7 @@ "children": [ { "type": "icon_font", - "id": "n903", + "id": "n867", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -15530,7 +14828,7 @@ }, { "type": "text", - "id": "n904", + "id": "n868", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -15551,7 +14849,7 @@ }, { "type": "text", - "id": "n905", + "id": "n869", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -15572,7 +14870,7 @@ }, { "type": "frame", - "id": "n906", + "id": "n870", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -15588,7 +14886,7 @@ "children": [ { "type": "frame", - "id": "n907", + "id": "n871", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -15608,7 +14906,7 @@ "children": [ { "type": "frame", - "id": "n908", + "id": "n872", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -15625,7 +14923,7 @@ "children": [ { "type": "frame", - "id": "n909", + "id": "n873", "name": "名称", "width": 58.0, "height": "fit_content", @@ -15639,7 +14937,7 @@ "children": [ { "type": "text", - "id": "n910", + "id": "n874", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -15660,7 +14958,7 @@ }, { "type": "rectangle", - "id": "n911", + "id": "n875", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -15674,7 +14972,7 @@ }, { "type": "frame", - "id": "n912", + "id": "n876", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -15688,7 +14986,7 @@ "children": [ { "type": "text", - "id": "n913", + "id": "n877", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -15711,7 +15009,7 @@ }, { "type": "rectangle", - "id": "n914", + "id": "n878", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -15725,7 +15023,7 @@ }, { "type": "frame", - "id": "n915", + "id": "n879", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -15736,7 +15034,7 @@ "children": [ { "type": "frame", - "id": "n916", + "id": "n880", "name": "名称", "width": 58.0, "height": "fit_content", @@ -15750,7 +15048,7 @@ "children": [ { "type": "text", - "id": "n917", + "id": "n881", "name": "theme", "width": "fit_content", "height": "fit_content", @@ -15771,7 +15069,7 @@ }, { "type": "rectangle", - "id": "n918", + "id": "n882", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -15785,7 +15083,7 @@ }, { "type": "frame", - "id": "n919", + "id": "n883", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -15799,7 +15097,7 @@ "children": [ { "type": "text", - "id": "n920", + "id": "n884", "name": "上下文的值", "width": "fit_content", "height": "fit_content", @@ -15823,76 +15121,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n921", - "name": "Prop / 没有外层提供时", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n922", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n923", - "name": "没有外层提供时", - "width": "fit_content", - "height": "fit_content", - "content": "没有外层提供时", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n924", - "name": "'light'", - "width": "fit_content", - "height": "fit_content", - "content": "'light'", - "fontFamily": "Menlo", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#ce9178" - } - ] - } - ] } ] }, { "type": "frame", - "id": "n925", + "id": "n885", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -15903,7 +15137,7 @@ "children": [ { "type": "frame", - "id": "n926", + "id": "n886", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -15916,7 +15150,7 @@ "children": [ { "type": "icon_font", - "id": "n927", + "id": "n887", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -15932,7 +15166,7 @@ }, { "type": "frame", - "id": "n928", + "id": "n888", "name": "pencil", "width": 22.0, "height": 20.0, @@ -15945,7 +15179,7 @@ "children": [ { "type": "icon_font", - "id": "n929", + "id": "n889", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -15973,7 +15207,7 @@ }, { "type": "frame", - "id": "n930", + "id": "n890", "name": "Lines 26–26", "width": "fill_container", "height": "fit_content", @@ -15984,7 +15218,7 @@ "children": [ { "type": "frame", - "id": "n931", + "id": "n891", "name": "Code", "width": 600.0, "height": "fill_container", @@ -16000,7 +15234,7 @@ "children": [ { "type": "frame", - "id": "n932", + "id": "n892", "name": "Line 26", "width": "fill_container", "height": 20.0, @@ -16011,7 +15245,7 @@ "children": [ { "type": "frame", - "id": "n933", + "id": "n893", "name": "Number", "width": 44.0, "height": 20.0, @@ -16023,7 +15257,7 @@ "children": [ { "type": "text", - "id": "n934", + "id": "n894", "name": "26", "width": "fit_content", "height": "fit_content", @@ -16044,7 +15278,7 @@ }, { "type": "frame", - "id": "n935", + "id": "n895", "name": "Margin", "width": 41.66, "height": 20.0, @@ -16052,7 +15286,7 @@ }, { "type": "text", - "id": "n936", + "id": "n896", "name": "const { messages } = useChatSession(id)", "width": "fit_content", "height": "fit_content", @@ -16124,7 +15358,7 @@ }, { "type": "rectangle", - "id": "n937", + "id": "n897", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -16138,7 +15372,7 @@ }, { "type": "frame", - "id": "n938", + "id": "n898", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -16154,7 +15388,7 @@ "children": [ { "type": "frame", - "id": "n939", + "id": "n899", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -16165,7 +15399,7 @@ "children": [ { "type": "frame", - "id": "n940", + "id": "n900", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -16176,7 +15410,7 @@ "children": [ { "type": "rectangle", - "id": "n941", + "id": "n901", "name": "Line", "width": 1.0, "height": "fill_container", @@ -16192,7 +15426,7 @@ }, { "type": "frame", - "id": "n942", + "id": "n902", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -16208,7 +15442,7 @@ "children": [ { "type": "frame", - "id": "n943", + "id": "n903", "name": "钩子 / useChatSession · messages", "width": "fill_container", "height": "fit_content", @@ -16241,7 +15475,7 @@ "children": [ { "type": "frame", - "id": "n944", + "id": "n904", "name": "Fold", "width": 14.0, "height": 20.0, @@ -16254,7 +15488,7 @@ }, { "type": "frame", - "id": "n945", + "id": "n905", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -16265,7 +15499,7 @@ "children": [ { "type": "frame", - "id": "n946", + "id": "n906", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -16277,7 +15511,7 @@ "children": [ { "type": "icon_font", - "id": "n947", + "id": "n907", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -16295,7 +15529,7 @@ }, { "type": "frame", - "id": "n948", + "id": "n908", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -16305,7 +15539,7 @@ "children": [ { "type": "frame", - "id": "n949", + "id": "n909", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -16316,9 +15550,9 @@ "children": [ { "type": "frame", - "id": "n950", + "id": "n910", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -16327,7 +15561,7 @@ "children": [ { "type": "text", - "id": "n951", + "id": "n911", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -16348,7 +15582,7 @@ }, { "type": "text", - "id": "n952", + "id": "n912", "name": "useChatSession", "width": "fit_content", "height": "fit_content", @@ -16376,7 +15610,7 @@ }, { "type": "frame", - "id": "n953", + "id": "n913", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -16387,9 +15621,9 @@ "children": [ { "type": "frame", - "id": "n954", + "id": "n914", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -16398,7 +15632,7 @@ "children": [ { "type": "icon_font", - "id": "n955", + "id": "n915", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -16412,7 +15646,7 @@ }, { "type": "text", - "id": "n956", + "id": "n916", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -16433,7 +15667,7 @@ }, { "type": "text", - "id": "n957", + "id": "n917", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -16454,7 +15688,7 @@ }, { "type": "frame", - "id": "n958", + "id": "n918", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -16470,7 +15704,7 @@ "children": [ { "type": "frame", - "id": "n959", + "id": "n919", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -16490,7 +15724,7 @@ "children": [ { "type": "frame", - "id": "n960", + "id": "n920", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -16507,7 +15741,7 @@ "children": [ { "type": "frame", - "id": "n961", + "id": "n921", "name": "参数", "width": 43.0, "height": "fit_content", @@ -16521,7 +15755,7 @@ "children": [ { "type": "text", - "id": "n962", + "id": "n922", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -16542,7 +15776,7 @@ }, { "type": "rectangle", - "id": "n963", + "id": "n923", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -16556,7 +15790,7 @@ }, { "type": "frame", - "id": "n964", + "id": "n924", "name": "值", "width": 562.0, "height": "fit_content", @@ -16570,7 +15804,7 @@ "children": [ { "type": "text", - "id": "n965", + "id": "n925", "name": "值", "width": "fit_content", "height": "fit_content", @@ -16593,7 +15827,7 @@ }, { "type": "rectangle", - "id": "n966", + "id": "n926", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -16607,7 +15841,7 @@ }, { "type": "frame", - "id": "n967", + "id": "n927", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -16618,7 +15852,7 @@ "children": [ { "type": "frame", - "id": "n968", + "id": "n928", "name": "参数", "width": 43.0, "height": "fit_content", @@ -16632,7 +15866,7 @@ "children": [ { "type": "text", - "id": "n969", + "id": "n929", "name": "id", "width": "fit_content", "height": "fit_content", @@ -16653,7 +15887,7 @@ }, { "type": "rectangle", - "id": "n970", + "id": "n930", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -16667,7 +15901,7 @@ }, { "type": "frame", - "id": "n971", + "id": "n931", "name": "值", "width": 562.0, "height": "fit_content", @@ -16681,7 +15915,7 @@ "children": [ { "type": "text", - "id": "n972", + "id": "n932", "name": "id", "width": "fit_content", "height": "fit_content", @@ -16708,7 +15942,7 @@ }, { "type": "frame", - "id": "n973", + "id": "n933", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -16719,9 +15953,9 @@ "children": [ { "type": "frame", - "id": "n974", + "id": "n934", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -16730,7 +15964,7 @@ "children": [ { "type": "icon_font", - "id": "n975", + "id": "n935", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -16744,7 +15978,7 @@ }, { "type": "text", - "id": "n976", + "id": "n936", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -16765,7 +15999,7 @@ }, { "type": "text", - "id": "n977", + "id": "n937", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -16786,7 +16020,7 @@ }, { "type": "frame", - "id": "n978", + "id": "n938", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -16802,7 +16036,7 @@ "children": [ { "type": "frame", - "id": "n979", + "id": "n939", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -16822,7 +16056,7 @@ "children": [ { "type": "frame", - "id": "n980", + "id": "n940", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -16839,9 +16073,9 @@ "children": [ { "type": "frame", - "id": "n981", + "id": "n941", "name": "名称", - "width": 82.0, + "width": 606.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -16853,7 +16087,7 @@ "children": [ { "type": "text", - "id": "n982", + "id": "n942", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -16871,61 +16105,12 @@ ] } ] - }, - { - "type": "rectangle", - "id": "n983", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n984", - "name": "是什么", - "width": 523.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n985", - "name": "是什么", - "width": "fit_content", - "height": "fit_content", - "content": "是什么", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] } ] }, { "type": "rectangle", - "id": "n986", + "id": "n943", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -16939,7 +16124,7 @@ }, { "type": "frame", - "id": "n987", + "id": "n944", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -16950,9 +16135,9 @@ "children": [ { "type": "frame", - "id": "n988", + "id": "n945", "name": "名称", - "width": 82.0, + "width": 606.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -16964,7 +16149,7 @@ "children": [ { "type": "text", - "id": "n989", + "id": "n946", "name": "messages", "width": "fit_content", "height": "fit_content", @@ -16982,61 +16167,6 @@ ] } ] - }, - { - "type": "rectangle", - "id": "n990", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n991", - "name": "是什么", - "width": 523.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n992", - "name": "状态 messages", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "状态 messages", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] } ] } @@ -17048,7 +16178,7 @@ }, { "type": "frame", - "id": "n993", + "id": "n947", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -17059,7 +16189,7 @@ "children": [ { "type": "frame", - "id": "n994", + "id": "n948", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -17072,7 +16202,7 @@ "children": [ { "type": "icon_font", - "id": "n995", + "id": "n949", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -17088,7 +16218,7 @@ }, { "type": "frame", - "id": "n996", + "id": "n950", "name": "pencil", "width": 22.0, "height": 20.0, @@ -17101,7 +16231,7 @@ "children": [ { "type": "icon_font", - "id": "n997", + "id": "n951", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -17129,7 +16259,7 @@ }, { "type": "frame", - "id": "n998", + "id": "n952", "name": "Lines 27–27", "width": "fill_container", "height": "fit_content", @@ -17140,7 +16270,7 @@ "children": [ { "type": "frame", - "id": "n999", + "id": "n953", "name": "Code", "width": 600.0, "height": "fill_container", @@ -17156,7 +16286,7 @@ "children": [ { "type": "frame", - "id": "n1000", + "id": "n954", "name": "Line 27", "width": "fill_container", "height": 20.0, @@ -17167,7 +16297,7 @@ "children": [ { "type": "frame", - "id": "n1001", + "id": "n955", "name": "Number", "width": 44.0, "height": 20.0, @@ -17179,7 +16309,7 @@ "children": [ { "type": "text", - "id": "n1002", + "id": "n956", "name": "27", "width": "fit_content", "height": "fit_content", @@ -17200,7 +16330,7 @@ }, { "type": "frame", - "id": "n1003", + "id": "n957", "name": "Margin", "width": 41.66, "height": 20.0, @@ -17208,7 +16338,7 @@ }, { "type": "text", - "id": "n1004", + "id": "n958", "name": "const [open, setOpen] = useState(() => r", "width": "fit_content", "height": "fit_content", @@ -17308,7 +16438,7 @@ }, { "type": "rectangle", - "id": "n1005", + "id": "n959", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -17322,7 +16452,7 @@ }, { "type": "frame", - "id": "n1006", + "id": "n960", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -17338,7 +16468,7 @@ "children": [ { "type": "frame", - "id": "n1007", + "id": "n961", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -17349,7 +16479,7 @@ "children": [ { "type": "frame", - "id": "n1008", + "id": "n962", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -17360,7 +16490,7 @@ "children": [ { "type": "rectangle", - "id": "n1009", + "id": "n963", "name": "Line", "width": 1.0, "height": "fill_container", @@ -17376,7 +16506,7 @@ }, { "type": "frame", - "id": "n1010", + "id": "n964", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -17392,7 +16522,7 @@ "children": [ { "type": "frame", - "id": "n1011", + "id": "n965", "name": "钩子 / useState · open", "width": "fill_container", "height": "fit_content", @@ -17425,7 +16555,7 @@ "children": [ { "type": "frame", - "id": "n1012", + "id": "n966", "name": "Fold", "width": 14.0, "height": 20.0, @@ -17438,7 +16568,7 @@ }, { "type": "frame", - "id": "n1013", + "id": "n967", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -17449,7 +16579,7 @@ "children": [ { "type": "frame", - "id": "n1014", + "id": "n968", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -17461,7 +16591,7 @@ "children": [ { "type": "icon_font", - "id": "n1015", + "id": "n969", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -17477,7 +16607,7 @@ }, { "type": "frame", - "id": "n1016", + "id": "n970", "name": "Concept / 状态", "width": 20.0, "height": 20.0, @@ -17489,7 +16619,7 @@ "children": [ { "type": "icon_font", - "id": "n1017", + "id": "n971", "name": "toggle-right", "iconFontName": "toggle-right", "width": 16.0, @@ -17507,7 +16637,7 @@ }, { "type": "frame", - "id": "n1018", + "id": "n972", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -17517,7 +16647,7 @@ "children": [ { "type": "frame", - "id": "n1019", + "id": "n973", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -17528,9 +16658,9 @@ "children": [ { "type": "frame", - "id": "n1020", + "id": "n974", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -17539,7 +16669,7 @@ "children": [ { "type": "text", - "id": "n1021", + "id": "n975", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -17560,7 +16690,7 @@ }, { "type": "text", - "id": "n1022", + "id": "n976", "name": "useState", "width": "fit_content", "height": "fit_content", @@ -17587,7 +16717,7 @@ }, { "type": "frame", - "id": "n1023", + "id": "n977", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -17598,9 +16728,9 @@ "children": [ { "type": "frame", - "id": "n1024", + "id": "n978", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -17609,7 +16739,7 @@ "children": [ { "type": "icon_font", - "id": "n1025", + "id": "n979", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -17623,7 +16753,7 @@ }, { "type": "text", - "id": "n1026", + "id": "n980", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -17644,7 +16774,7 @@ }, { "type": "text", - "id": "n1027", + "id": "n981", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -17665,7 +16795,7 @@ }, { "type": "frame", - "id": "n1028", + "id": "n982", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -17681,7 +16811,7 @@ "children": [ { "type": "frame", - "id": "n1029", + "id": "n983", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -17701,7 +16831,7 @@ "children": [ { "type": "frame", - "id": "n1030", + "id": "n984", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -17718,7 +16848,7 @@ "children": [ { "type": "frame", - "id": "n1031", + "id": "n985", "name": "参数", "width": 114.0, "height": "fit_content", @@ -17732,7 +16862,7 @@ "children": [ { "type": "text", - "id": "n1032", + "id": "n986", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -17753,7 +16883,7 @@ }, { "type": "rectangle", - "id": "n1033", + "id": "n987", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -17767,9 +16897,9 @@ }, { "type": "frame", - "id": "n1034", + "id": "n988", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -17781,7 +16911,7 @@ "children": [ { "type": "text", - "id": "n1035", + "id": "n989", "name": "值", "width": "fit_content", "height": "fit_content", @@ -17804,7 +16934,7 @@ }, { "type": "rectangle", - "id": "n1036", + "id": "n990", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -17818,7 +16948,7 @@ }, { "type": "frame", - "id": "n1037", + "id": "n991", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -17829,7 +16959,7 @@ "children": [ { "type": "frame", - "id": "n1038", + "id": "n992", "name": "参数", "width": 114.0, "height": "fit_content", @@ -17843,7 +16973,7 @@ "children": [ { "type": "text", - "id": "n1039", + "id": "n993", "name": "initialState", "width": "fit_content", "height": "fit_content", @@ -17864,7 +16994,7 @@ }, { "type": "rectangle", - "id": "n1040", + "id": "n994", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -17878,9 +17008,9 @@ }, { "type": "frame", - "id": "n1041", + "id": "n995", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -17892,7 +17022,7 @@ "children": [ { "type": "text", - "id": "n1042", + "id": "n996", "name": "首次渲染时调用 readOpen(id)", "width": "fit_content", "height": "fit_content", @@ -17940,7 +17070,7 @@ }, { "type": "frame", - "id": "n1043", + "id": "n997", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -17951,9 +17081,9 @@ "children": [ { "type": "frame", - "id": "n1044", + "id": "n998", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -17962,7 +17092,7 @@ "children": [ { "type": "icon_font", - "id": "n1045", + "id": "n999", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -17976,7 +17106,7 @@ }, { "type": "text", - "id": "n1046", + "id": "n1000", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -17997,7 +17127,7 @@ }, { "type": "text", - "id": "n1047", + "id": "n1001", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -18018,7 +17148,7 @@ }, { "type": "frame", - "id": "n1048", + "id": "n1002", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -18034,7 +17164,7 @@ "children": [ { "type": "frame", - "id": "n1049", + "id": "n1003", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -18054,7 +17184,7 @@ "children": [ { "type": "frame", - "id": "n1050", + "id": "n1004", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -18071,7 +17201,7 @@ "children": [ { "type": "frame", - "id": "n1051", + "id": "n1005", "name": "名称", "width": 74.0, "height": "fit_content", @@ -18085,7 +17215,7 @@ "children": [ { "type": "text", - "id": "n1052", + "id": "n1006", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -18106,7 +17236,7 @@ }, { "type": "rectangle", - "id": "n1053", + "id": "n1007", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -18120,9 +17250,9 @@ }, { "type": "frame", - "id": "n1054", + "id": "n1008", "name": "是什么", - "width": 509.0, + "width": 470.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -18134,7 +17264,7 @@ "children": [ { "type": "text", - "id": "n1055", + "id": "n1009", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -18157,7 +17287,7 @@ }, { "type": "rectangle", - "id": "n1056", + "id": "n1010", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -18171,7 +17301,7 @@ }, { "type": "frame", - "id": "n1057", + "id": "n1011", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -18182,7 +17312,7 @@ "children": [ { "type": "frame", - "id": "n1058", + "id": "n1012", "name": "名称", "width": 74.0, "height": "fit_content", @@ -18196,7 +17326,7 @@ "children": [ { "type": "text", - "id": "n1059", + "id": "n1013", "name": "open", "width": "fit_content", "height": "fit_content", @@ -18217,7 +17347,7 @@ }, { "type": "rectangle", - "id": "n1060", + "id": "n1014", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -18231,9 +17361,9 @@ }, { "type": "frame", - "id": "n1061", + "id": "n1015", "name": "是什么", - "width": 509.0, + "width": 470.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -18245,7 +17375,7 @@ "children": [ { "type": "text", - "id": "n1062", + "id": "n1016", "name": "当前值", "width": "fit_content", "height": "fit_content", @@ -18268,7 +17398,7 @@ }, { "type": "rectangle", - "id": "n1063", + "id": "n1017", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -18282,7 +17412,7 @@ }, { "type": "frame", - "id": "n1064", + "id": "n1018", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -18293,7 +17423,7 @@ "children": [ { "type": "frame", - "id": "n1065", + "id": "n1019", "name": "名称", "width": 74.0, "height": "fit_content", @@ -18307,7 +17437,7 @@ "children": [ { "type": "text", - "id": "n1066", + "id": "n1020", "name": "setOpen", "width": "fit_content", "height": "fit_content", @@ -18328,7 +17458,7 @@ }, { "type": "rectangle", - "id": "n1067", + "id": "n1021", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -18342,9 +17472,9 @@ }, { "type": "frame", - "id": "n1068", + "id": "n1022", "name": "是什么", - "width": 509.0, + "width": 470.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -18356,7 +17486,7 @@ "children": [ { "type": "text", - "id": "n1069", + "id": "n1023", "name": "修改函数", "width": "fit_content", "height": "fit_content", @@ -18380,505 +17510,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1070", - "name": "Prop / 在哪改", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1071", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1072", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1073", - "name": "在哪改", - "width": "fit_content", - "height": "fit_content", - "content": "在哪改", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1074", - "name": "2 个", - "width": "fit_content", - "height": "fit_content", - "content": "2 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1075", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1076", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1077", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1078", - "name": "位置", - "width": 162.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1079", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1080", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1081", - "name": "写法", - "width": 421.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1082", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1083", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1084", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1085", - "name": "位置", - "width": 162.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1086", - "name": "toggle", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "toggle", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1087", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1088", - "name": "写法", - "width": 421.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1089", - "name": "setOpen(next)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "setOpen", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "next", - "fill": "#9cdcfe" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1090", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1091", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1092", - "name": "位置", - "width": 162.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1093", - "name": "副作用「open 变化时」", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "副作用「open 变化时」", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1094", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1095", - "name": "写法", - "width": 421.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1096", - "name": "setOpen(假) 1 秒后", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "setOpen", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "假", - "fill": "#b5cea8" - }, - { - "text": ")", - "fill": "#cccccc" - }, - { - "text": " 1 秒后", - "fill": "#9d9d9d" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1097", + "id": "n1024", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -18889,7 +17526,7 @@ "children": [ { "type": "frame", - "id": "n1098", + "id": "n1025", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -18902,7 +17539,7 @@ "children": [ { "type": "icon_font", - "id": "n1099", + "id": "n1026", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -18918,7 +17555,7 @@ }, { "type": "frame", - "id": "n1100", + "id": "n1027", "name": "pencil", "width": 22.0, "height": 20.0, @@ -18931,7 +17568,7 @@ "children": [ { "type": "icon_font", - "id": "n1101", + "id": "n1028", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -18944,6 +17581,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n1029", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1030", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n1031", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n1032", + "name": "2", + "width": "fit_content", + "height": "fit_content", + "content": "2", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -18959,7 +17668,7 @@ }, { "type": "frame", - "id": "n1102", + "id": "n1033", "name": "Lines 28–28", "width": "fill_container", "height": "fit_content", @@ -18970,7 +17679,7 @@ "children": [ { "type": "frame", - "id": "n1103", + "id": "n1034", "name": "Code", "width": 600.0, "height": "fill_container", @@ -18986,7 +17695,7 @@ "children": [ { "type": "frame", - "id": "n1104", + "id": "n1035", "name": "Line 28", "width": "fill_container", "height": 20.0, @@ -18997,7 +17706,7 @@ "children": [ { "type": "frame", - "id": "n1105", + "id": "n1036", "name": "Number", "width": 44.0, "height": 20.0, @@ -19009,7 +17718,7 @@ "children": [ { "type": "text", - "id": "n1106", + "id": "n1037", "name": "28", "width": "fit_content", "height": "fit_content", @@ -19030,7 +17739,7 @@ }, { "type": "frame", - "id": "n1107", + "id": "n1038", "name": "Margin", "width": 41.66, "height": 20.0, @@ -19038,7 +17747,7 @@ }, { "type": "text", - "id": "n1108", + "id": "n1039", "name": "const [state, dispatch] = useReducer(red", "width": "fit_content", "height": "fit_content", @@ -19142,7 +17851,7 @@ }, { "type": "rectangle", - "id": "n1109", + "id": "n1040", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -19156,7 +17865,7 @@ }, { "type": "frame", - "id": "n1110", + "id": "n1041", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -19172,7 +17881,7 @@ "children": [ { "type": "frame", - "id": "n1111", + "id": "n1042", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -19183,7 +17892,7 @@ "children": [ { "type": "frame", - "id": "n1112", + "id": "n1043", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -19194,7 +17903,7 @@ "children": [ { "type": "rectangle", - "id": "n1113", + "id": "n1044", "name": "Line", "width": 1.0, "height": "fill_container", @@ -19210,7 +17919,7 @@ }, { "type": "frame", - "id": "n1114", + "id": "n1045", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -19226,7 +17935,7 @@ "children": [ { "type": "frame", - "id": "n1115", + "id": "n1046", "name": "钩子 / useReducer · state", "width": "fill_container", "height": "fit_content", @@ -19259,7 +17968,7 @@ "children": [ { "type": "frame", - "id": "n1116", + "id": "n1047", "name": "Fold", "width": 14.0, "height": 20.0, @@ -19272,7 +17981,7 @@ }, { "type": "frame", - "id": "n1117", + "id": "n1048", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -19283,7 +17992,7 @@ "children": [ { "type": "frame", - "id": "n1118", + "id": "n1049", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -19295,7 +18004,7 @@ "children": [ { "type": "icon_font", - "id": "n1119", + "id": "n1050", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -19311,7 +18020,7 @@ }, { "type": "frame", - "id": "n1120", + "id": "n1051", "name": "Concept / 状态", "width": 20.0, "height": 20.0, @@ -19323,7 +18032,7 @@ "children": [ { "type": "icon_font", - "id": "n1121", + "id": "n1052", "name": "toggle-right", "iconFontName": "toggle-right", "width": 16.0, @@ -19341,7 +18050,7 @@ }, { "type": "frame", - "id": "n1122", + "id": "n1053", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -19351,7 +18060,7 @@ "children": [ { "type": "frame", - "id": "n1123", + "id": "n1054", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -19362,9 +18071,9 @@ "children": [ { "type": "frame", - "id": "n1124", + "id": "n1055", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -19373,7 +18082,7 @@ "children": [ { "type": "text", - "id": "n1125", + "id": "n1056", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -19394,7 +18103,7 @@ }, { "type": "text", - "id": "n1126", + "id": "n1057", "name": "useReducer", "width": "fit_content", "height": "fit_content", @@ -19421,7 +18130,7 @@ }, { "type": "frame", - "id": "n1127", + "id": "n1058", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -19432,9 +18141,9 @@ "children": [ { "type": "frame", - "id": "n1128", + "id": "n1059", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -19443,7 +18152,7 @@ "children": [ { "type": "icon_font", - "id": "n1129", + "id": "n1060", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -19457,7 +18166,7 @@ }, { "type": "text", - "id": "n1130", + "id": "n1061", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -19478,7 +18187,7 @@ }, { "type": "text", - "id": "n1131", + "id": "n1062", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -19499,7 +18208,7 @@ }, { "type": "frame", - "id": "n1132", + "id": "n1063", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -19515,7 +18224,7 @@ "children": [ { "type": "frame", - "id": "n1133", + "id": "n1064", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -19535,7 +18244,7 @@ "children": [ { "type": "frame", - "id": "n1134", + "id": "n1065", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -19552,7 +18261,7 @@ "children": [ { "type": "frame", - "id": "n1135", + "id": "n1066", "name": "参数", "width": 114.0, "height": "fit_content", @@ -19566,7 +18275,7 @@ "children": [ { "type": "text", - "id": "n1136", + "id": "n1067", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -19587,7 +18296,7 @@ }, { "type": "rectangle", - "id": "n1137", + "id": "n1068", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -19601,9 +18310,9 @@ }, { "type": "frame", - "id": "n1138", + "id": "n1069", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -19615,7 +18324,7 @@ "children": [ { "type": "text", - "id": "n1139", + "id": "n1070", "name": "值", "width": "fit_content", "height": "fit_content", @@ -19638,7 +18347,7 @@ }, { "type": "rectangle", - "id": "n1140", + "id": "n1071", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -19652,7 +18361,7 @@ }, { "type": "frame", - "id": "n1141", + "id": "n1072", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -19663,7 +18372,7 @@ "children": [ { "type": "frame", - "id": "n1142", + "id": "n1073", "name": "参数", "width": 114.0, "height": "fit_content", @@ -19677,7 +18386,7 @@ "children": [ { "type": "text", - "id": "n1143", + "id": "n1074", "name": "reducer", "width": "fit_content", "height": "fit_content", @@ -19698,7 +18407,7 @@ }, { "type": "rectangle", - "id": "n1144", + "id": "n1075", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -19712,9 +18421,9 @@ }, { "type": "frame", - "id": "n1145", + "id": "n1076", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -19726,7 +18435,7 @@ "children": [ { "type": "text", - "id": "n1146", + "id": "n1077", "name": "reducer", "width": "fit_content", "height": "fit_content", @@ -19755,7 +18464,7 @@ }, { "type": "rectangle", - "id": "n1147", + "id": "n1078", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -19769,7 +18478,7 @@ }, { "type": "frame", - "id": "n1148", + "id": "n1079", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -19780,7 +18489,7 @@ "children": [ { "type": "frame", - "id": "n1149", + "id": "n1080", "name": "参数", "width": 114.0, "height": "fit_content", @@ -19794,7 +18503,7 @@ "children": [ { "type": "text", - "id": "n1150", + "id": "n1081", "name": "initialState", "width": "fit_content", "height": "fit_content", @@ -19815,7 +18524,7 @@ }, { "type": "rectangle", - "id": "n1151", + "id": "n1082", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -19829,9 +18538,9 @@ }, { "type": "frame", - "id": "n1152", + "id": "n1083", "name": "值", - "width": 469.0, + "width": 430.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -19843,7 +18552,7 @@ "children": [ { "type": "text", - "id": "n1153", + "id": "n1084", "name": "{ count: 0 }", "width": "fit_content", "height": "fit_content", @@ -19891,7 +18600,7 @@ }, { "type": "frame", - "id": "n1154", + "id": "n1085", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -19902,9 +18611,9 @@ "children": [ { "type": "frame", - "id": "n1155", + "id": "n1086", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -19913,7 +18622,7 @@ "children": [ { "type": "icon_font", - "id": "n1156", + "id": "n1087", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -19927,7 +18636,7 @@ }, { "type": "text", - "id": "n1157", + "id": "n1088", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -19948,7 +18657,7 @@ }, { "type": "text", - "id": "n1158", + "id": "n1089", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -19969,7 +18678,7 @@ }, { "type": "frame", - "id": "n1159", + "id": "n1090", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -19985,7 +18694,7 @@ "children": [ { "type": "frame", - "id": "n1160", + "id": "n1091", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -20005,7 +18714,7 @@ "children": [ { "type": "frame", - "id": "n1161", + "id": "n1092", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -20022,7 +18731,7 @@ "children": [ { "type": "frame", - "id": "n1162", + "id": "n1093", "name": "名称", "width": 82.0, "height": "fit_content", @@ -20036,7 +18745,7 @@ "children": [ { "type": "text", - "id": "n1163", + "id": "n1094", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -20057,7 +18766,7 @@ }, { "type": "rectangle", - "id": "n1164", + "id": "n1095", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -20071,9 +18780,9 @@ }, { "type": "frame", - "id": "n1165", + "id": "n1096", "name": "是什么", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -20085,7 +18794,7 @@ "children": [ { "type": "text", - "id": "n1166", + "id": "n1097", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -20108,7 +18817,7 @@ }, { "type": "rectangle", - "id": "n1167", + "id": "n1098", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -20122,7 +18831,7 @@ }, { "type": "frame", - "id": "n1168", + "id": "n1099", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -20133,7 +18842,7 @@ "children": [ { "type": "frame", - "id": "n1169", + "id": "n1100", "name": "名称", "width": 82.0, "height": "fit_content", @@ -20147,7 +18856,7 @@ "children": [ { "type": "text", - "id": "n1170", + "id": "n1101", "name": "state", "width": "fit_content", "height": "fit_content", @@ -20168,7 +18877,7 @@ }, { "type": "rectangle", - "id": "n1171", + "id": "n1102", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -20182,9 +18891,9 @@ }, { "type": "frame", - "id": "n1172", + "id": "n1103", "name": "是什么", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -20196,7 +18905,7 @@ "children": [ { "type": "text", - "id": "n1173", + "id": "n1104", "name": "当前值", "width": "fit_content", "height": "fit_content", @@ -20219,7 +18928,7 @@ }, { "type": "rectangle", - "id": "n1174", + "id": "n1105", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -20233,7 +18942,7 @@ }, { "type": "frame", - "id": "n1175", + "id": "n1106", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -20244,7 +18953,7 @@ "children": [ { "type": "frame", - "id": "n1176", + "id": "n1107", "name": "名称", "width": 82.0, "height": "fit_content", @@ -20258,7 +18967,7 @@ "children": [ { "type": "text", - "id": "n1177", + "id": "n1108", "name": "dispatch", "width": "fit_content", "height": "fit_content", @@ -20279,7 +18988,7 @@ }, { "type": "rectangle", - "id": "n1178", + "id": "n1109", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -20293,9 +19002,9 @@ }, { "type": "frame", - "id": "n1179", + "id": "n1110", "name": "是什么", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -20307,7 +19016,7 @@ "children": [ { "type": "text", - "id": "n1180", + "id": "n1111", "name": "派发函数", "width": "fit_content", "height": "fit_content", @@ -20331,812 +19040,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1181", - "name": "Prop / 动作", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1182", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1183", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1184", - "name": "动作", - "width": "fit_content", - "height": "fit_content", - "content": "动作", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1185", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1186", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1187", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1188", - "name": "动作", - "width": 58.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1189", - "name": "动作", - "width": "fit_content", - "height": "fit_content", - "content": "动作", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1190", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1191", - "name": "状态怎么变", - "width": 525.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1192", - "name": "状态怎么变", - "width": "fit_content", - "height": "fit_content", - "content": "状态怎么变", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1193", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1194", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1195", - "name": "动作", - "width": 58.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1196", - "name": "'add'", - "width": "fit_content", - "height": "fit_content", - "content": "'add'", - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#ce9178" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1197", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1198", - "name": "状态怎么变", - "width": 525.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1199", - "name": "count 加 1", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "count", - "fill": "#9cdcfe" - }, - { - "text": " 加 ", - "fill": "#cccccc" - }, - { - "text": "1", - "fill": "#b5cea8" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1200", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1201", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1202", - "name": "动作", - "width": 58.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1203", - "name": "其他", - "width": "fit_content", - "height": "fit_content", - "content": "其他", - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1204", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1205", - "name": "状态怎么变", - "width": 525.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1206", - "name": "不变", - "width": "fit_content", - "height": "fit_content", - "content": "不变", - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1207", - "name": "Prop / 在哪派发", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1208", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1209", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1210", - "name": "在哪派发", - "width": "fit_content", - "height": "fit_content", - "content": "在哪派发", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1211", - "name": "1 个", - "width": "fit_content", - "height": "fit_content", - "content": "1 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1212", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1213", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1214", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1215", - "name": "位置", - "width": 66.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1216", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1217", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1218", - "name": "写法", - "width": 517.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1219", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1220", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1221", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1222", - "name": "位置", - "width": 66.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1223", - "name": "toggle", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "toggle", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1224", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1225", - "name": "写法", - "width": 517.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1226", - "name": "dispatch({ type: 'add' })", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "dispatch", - "fill": "#dcdcaa" - }, - { - "text": "({ ", - "fill": "#cccccc" - }, - { - "text": "type", - "fill": "#9cdcfe" - }, - { - "text": ": ", - "fill": "#cccccc" - }, - { - "text": "'add'", - "fill": "#ce9178" - }, - { - "text": " })", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1227", + "id": "n1112", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -21147,7 +19056,7 @@ "children": [ { "type": "frame", - "id": "n1228", + "id": "n1113", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -21160,7 +19069,7 @@ "children": [ { "type": "icon_font", - "id": "n1229", + "id": "n1114", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -21176,7 +19085,7 @@ }, { "type": "frame", - "id": "n1230", + "id": "n1115", "name": "pencil", "width": 22.0, "height": 20.0, @@ -21189,7 +19098,7 @@ "children": [ { "type": "icon_font", - "id": "n1231", + "id": "n1116", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -21202,6 +19111,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n1117", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1118", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n1119", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n1120", + "name": "1", + "width": "fit_content", + "height": "fit_content", + "content": "1", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -21217,7 +19198,7 @@ }, { "type": "frame", - "id": "n1232", + "id": "n1121", "name": "Lines 29–29", "width": "fill_container", "height": "fit_content", @@ -21228,7 +19209,7 @@ "children": [ { "type": "frame", - "id": "n1233", + "id": "n1122", "name": "Code", "width": 600.0, "height": "fill_container", @@ -21244,7 +19225,7 @@ "children": [ { "type": "frame", - "id": "n1234", + "id": "n1123", "name": "Line 29", "width": "fill_container", "height": 20.0, @@ -21255,7 +19236,7 @@ "children": [ { "type": "frame", - "id": "n1235", + "id": "n1124", "name": "Number", "width": 44.0, "height": 20.0, @@ -21267,7 +19248,7 @@ "children": [ { "type": "text", - "id": "n1236", + "id": "n1125", "name": "29", "width": "fit_content", "height": "fit_content", @@ -21288,7 +19269,7 @@ }, { "type": "frame", - "id": "n1237", + "id": "n1126", "name": "Margin", "width": 41.66, "height": 20.0, @@ -21296,7 +19277,7 @@ }, { "type": "text", - "id": "n1238", + "id": "n1127", "name": "const [isPending, startTransition] = use", "width": "fit_content", "height": "fit_content", @@ -21360,7 +19341,7 @@ }, { "type": "rectangle", - "id": "n1239", + "id": "n1128", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -21374,7 +19355,7 @@ }, { "type": "frame", - "id": "n1240", + "id": "n1129", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -21390,7 +19371,7 @@ "children": [ { "type": "frame", - "id": "n1241", + "id": "n1130", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -21401,7 +19382,7 @@ "children": [ { "type": "frame", - "id": "n1242", + "id": "n1131", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -21412,7 +19393,7 @@ "children": [ { "type": "rectangle", - "id": "n1243", + "id": "n1132", "name": "Line", "width": 1.0, "height": "fill_container", @@ -21428,7 +19409,7 @@ }, { "type": "frame", - "id": "n1244", + "id": "n1133", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -21444,7 +19425,7 @@ "children": [ { "type": "frame", - "id": "n1245", + "id": "n1134", "name": "钩子 / useTransition · isPending", "width": "fill_container", "height": "fit_content", @@ -21477,7 +19458,7 @@ "children": [ { "type": "frame", - "id": "n1246", + "id": "n1135", "name": "Fold", "width": 14.0, "height": 20.0, @@ -21490,7 +19471,7 @@ }, { "type": "frame", - "id": "n1247", + "id": "n1136", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -21501,7 +19482,7 @@ "children": [ { "type": "frame", - "id": "n1248", + "id": "n1137", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -21513,7 +19494,7 @@ "children": [ { "type": "icon_font", - "id": "n1249", + "id": "n1138", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -21529,7 +19510,7 @@ }, { "type": "frame", - "id": "n1250", + "id": "n1139", "name": "Concept / 并发", "width": 20.0, "height": 20.0, @@ -21541,7 +19522,7 @@ "children": [ { "type": "icon_font", - "id": "n1251", + "id": "n1140", "name": "hourglass", "iconFontName": "hourglass", "width": 16.0, @@ -21559,7 +19540,7 @@ }, { "type": "frame", - "id": "n1252", + "id": "n1141", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -21569,7 +19550,7 @@ "children": [ { "type": "frame", - "id": "n1253", + "id": "n1142", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -21580,9 +19561,9 @@ "children": [ { "type": "frame", - "id": "n1254", + "id": "n1143", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -21591,7 +19572,7 @@ "children": [ { "type": "text", - "id": "n1255", + "id": "n1144", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -21612,7 +19593,7 @@ }, { "type": "text", - "id": "n1256", + "id": "n1145", "name": "useTransition", "width": "fit_content", "height": "fit_content", @@ -21639,7 +19620,7 @@ }, { "type": "frame", - "id": "n1257", + "id": "n1146", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -21650,9 +19631,9 @@ "children": [ { "type": "frame", - "id": "n1258", + "id": "n1147", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -21661,7 +19642,7 @@ "children": [ { "type": "icon_font", - "id": "n1259", + "id": "n1148", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -21675,7 +19656,7 @@ }, { "type": "text", - "id": "n1260", + "id": "n1149", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -21696,7 +19677,7 @@ }, { "type": "text", - "id": "n1261", + "id": "n1150", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -21717,7 +19698,7 @@ }, { "type": "frame", - "id": "n1262", + "id": "n1151", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -21733,7 +19714,7 @@ "children": [ { "type": "frame", - "id": "n1263", + "id": "n1152", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -21753,7 +19734,7 @@ "children": [ { "type": "frame", - "id": "n1264", + "id": "n1153", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -21770,7 +19751,7 @@ "children": [ { "type": "frame", - "id": "n1265", + "id": "n1154", "name": "名称", "width": 137.0, "height": "fit_content", @@ -21784,7 +19765,7 @@ "children": [ { "type": "text", - "id": "n1266", + "id": "n1155", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -21805,7 +19786,7 @@ }, { "type": "rectangle", - "id": "n1267", + "id": "n1156", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -21819,9 +19800,9 @@ }, { "type": "frame", - "id": "n1268", + "id": "n1157", "name": "是什么", - "width": 446.0, + "width": 407.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -21833,7 +19814,7 @@ "children": [ { "type": "text", - "id": "n1269", + "id": "n1158", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -21856,7 +19837,7 @@ }, { "type": "rectangle", - "id": "n1270", + "id": "n1159", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -21870,7 +19851,7 @@ }, { "type": "frame", - "id": "n1271", + "id": "n1160", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -21881,7 +19862,7 @@ "children": [ { "type": "frame", - "id": "n1272", + "id": "n1161", "name": "名称", "width": 137.0, "height": "fit_content", @@ -21895,7 +19876,7 @@ "children": [ { "type": "text", - "id": "n1273", + "id": "n1162", "name": "isPending", "width": "fit_content", "height": "fit_content", @@ -21916,7 +19897,7 @@ }, { "type": "rectangle", - "id": "n1274", + "id": "n1163", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -21930,9 +19911,9 @@ }, { "type": "frame", - "id": "n1275", + "id": "n1164", "name": "是什么", - "width": 446.0, + "width": 407.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -21944,7 +19925,7 @@ "children": [ { "type": "text", - "id": "n1276", + "id": "n1165", "name": "是否正在过渡", "width": "fit_content", "height": "fit_content", @@ -21967,7 +19948,7 @@ }, { "type": "rectangle", - "id": "n1277", + "id": "n1166", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -21981,7 +19962,7 @@ }, { "type": "frame", - "id": "n1278", + "id": "n1167", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -21992,7 +19973,7 @@ "children": [ { "type": "frame", - "id": "n1279", + "id": "n1168", "name": "名称", "width": 137.0, "height": "fit_content", @@ -22006,7 +19987,7 @@ "children": [ { "type": "text", - "id": "n1280", + "id": "n1169", "name": "startTransition", "width": "fit_content", "height": "fit_content", @@ -22027,7 +20008,7 @@ }, { "type": "rectangle", - "id": "n1281", + "id": "n1170", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -22041,9 +20022,9 @@ }, { "type": "frame", - "id": "n1282", + "id": "n1171", "name": "是什么", - "width": 446.0, + "width": 407.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -22055,7 +20036,7 @@ "children": [ { "type": "text", - "id": "n1283", + "id": "n1172", "name": "启动过渡的函数", "width": "fit_content", "height": "fit_content", @@ -22084,7 +20065,7 @@ }, { "type": "frame", - "id": "n1284", + "id": "n1173", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -22095,7 +20076,7 @@ "children": [ { "type": "frame", - "id": "n1285", + "id": "n1174", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -22108,7 +20089,7 @@ "children": [ { "type": "icon_font", - "id": "n1286", + "id": "n1175", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -22124,7 +20105,7 @@ }, { "type": "frame", - "id": "n1287", + "id": "n1176", "name": "pencil", "width": 22.0, "height": 20.0, @@ -22137,7 +20118,7 @@ "children": [ { "type": "icon_font", - "id": "n1288", + "id": "n1177", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -22150,6 +20131,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n1178", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1179", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n1180", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n1181", + "name": "1", + "width": "fit_content", + "height": "fit_content", + "content": "1", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -22165,7 +20218,7 @@ }, { "type": "frame", - "id": "n1289", + "id": "n1182", "name": "Lines 30–30", "width": "fill_container", "height": "fit_content", @@ -22176,7 +20229,7 @@ "children": [ { "type": "frame", - "id": "n1290", + "id": "n1183", "name": "Code", "width": 600.0, "height": "fill_container", @@ -22192,7 +20245,7 @@ "children": [ { "type": "frame", - "id": "n1291", + "id": "n1184", "name": "Line 30", "width": "fill_container", "height": 20.0, @@ -22203,7 +20256,7 @@ "children": [ { "type": "frame", - "id": "n1292", + "id": "n1185", "name": "Number", "width": 44.0, "height": 20.0, @@ -22215,7 +20268,7 @@ "children": [ { "type": "text", - "id": "n1293", + "id": "n1186", "name": "30", "width": "fit_content", "height": "fit_content", @@ -22236,7 +20289,7 @@ }, { "type": "frame", - "id": "n1294", + "id": "n1187", "name": "Margin", "width": 41.66, "height": 20.0, @@ -22244,7 +20297,7 @@ }, { "type": "text", - "id": "n1295", + "id": "n1188", "name": "const boxRef = useRef(nu", "width": "fit_content", "height": "fit_content", @@ -22312,7 +20365,7 @@ }, { "type": "rectangle", - "id": "n1296", + "id": "n1189", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -22326,7 +20379,7 @@ }, { "type": "frame", - "id": "n1297", + "id": "n1190", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -22342,7 +20395,7 @@ "children": [ { "type": "frame", - "id": "n1298", + "id": "n1191", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -22353,7 +20406,7 @@ "children": [ { "type": "frame", - "id": "n1299", + "id": "n1192", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -22364,7 +20417,7 @@ "children": [ { "type": "rectangle", - "id": "n1300", + "id": "n1193", "name": "Line", "width": 1.0, "height": "fill_container", @@ -22380,7 +20433,7 @@ }, { "type": "frame", - "id": "n1301", + "id": "n1194", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -22396,7 +20449,7 @@ "children": [ { "type": "frame", - "id": "n1302", + "id": "n1195", "name": "钩子 / useRef · boxRef", "width": "fill_container", "height": "fit_content", @@ -22429,7 +20482,7 @@ "children": [ { "type": "frame", - "id": "n1303", + "id": "n1196", "name": "Fold", "width": 14.0, "height": 20.0, @@ -22442,7 +20495,7 @@ }, { "type": "frame", - "id": "n1304", + "id": "n1197", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -22453,7 +20506,7 @@ "children": [ { "type": "frame", - "id": "n1305", + "id": "n1198", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -22465,7 +20518,7 @@ "children": [ { "type": "icon_font", - "id": "n1306", + "id": "n1199", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -22481,7 +20534,7 @@ }, { "type": "frame", - "id": "n1307", + "id": "n1200", "name": "Concept / 引用", "width": 20.0, "height": 20.0, @@ -22493,7 +20546,7 @@ "children": [ { "type": "icon_font", - "id": "n1308", + "id": "n1201", "name": "anchor", "iconFontName": "anchor", "width": 16.0, @@ -22511,7 +20564,7 @@ }, { "type": "frame", - "id": "n1309", + "id": "n1202", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -22521,7 +20574,7 @@ "children": [ { "type": "frame", - "id": "n1310", + "id": "n1203", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -22532,9 +20585,9 @@ "children": [ { "type": "frame", - "id": "n1311", + "id": "n1204", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -22543,7 +20596,7 @@ "children": [ { "type": "text", - "id": "n1312", + "id": "n1205", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -22564,7 +20617,7 @@ }, { "type": "text", - "id": "n1313", + "id": "n1206", "name": "useRef", "width": "fit_content", "height": "fit_content", @@ -22591,7 +20644,7 @@ }, { "type": "frame", - "id": "n1314", + "id": "n1207", "name": "Prop / 类型参数", "width": "fill_container", "height": "fit_content", @@ -22602,9 +20655,9 @@ "children": [ { "type": "frame", - "id": "n1315", + "id": "n1208", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -22613,7 +20666,7 @@ "children": [ { "type": "text", - "id": "n1316", + "id": "n1209", "name": "类型参数", "width": "fit_content", "height": "fit_content", @@ -22634,7 +20687,7 @@ }, { "type": "text", - "id": "n1317", + "id": "n1210", "name": "HTMLDivElement", "width": "fit_content", "height": "fit_content", @@ -22655,7 +20708,7 @@ }, { "type": "frame", - "id": "n1318", + "id": "n1211", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -22666,9 +20719,9 @@ "children": [ { "type": "frame", - "id": "n1319", + "id": "n1212", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -22677,7 +20730,7 @@ "children": [ { "type": "icon_font", - "id": "n1320", + "id": "n1213", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -22691,7 +20744,7 @@ }, { "type": "text", - "id": "n1321", + "id": "n1214", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -22712,7 +20765,7 @@ }, { "type": "text", - "id": "n1322", + "id": "n1215", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -22733,7 +20786,7 @@ }, { "type": "frame", - "id": "n1323", + "id": "n1216", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -22749,7 +20802,7 @@ "children": [ { "type": "frame", - "id": "n1324", + "id": "n1217", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -22769,7 +20822,7 @@ "children": [ { "type": "frame", - "id": "n1325", + "id": "n1218", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -22786,7 +20839,7 @@ "children": [ { "type": "frame", - "id": "n1326", + "id": "n1219", "name": "参数", "width": 114.0, "height": "fit_content", @@ -22800,7 +20853,7 @@ "children": [ { "type": "text", - "id": "n1327", + "id": "n1220", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -22821,7 +20874,7 @@ }, { "type": "rectangle", - "id": "n1328", + "id": "n1221", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -22835,7 +20888,7 @@ }, { "type": "frame", - "id": "n1329", + "id": "n1222", "name": "值", "width": 469.0, "height": "fit_content", @@ -22849,7 +20902,7 @@ "children": [ { "type": "text", - "id": "n1330", + "id": "n1223", "name": "值", "width": "fit_content", "height": "fit_content", @@ -22872,7 +20925,7 @@ }, { "type": "rectangle", - "id": "n1331", + "id": "n1224", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -22886,7 +20939,7 @@ }, { "type": "frame", - "id": "n1332", + "id": "n1225", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -22897,7 +20950,7 @@ "children": [ { "type": "frame", - "id": "n1333", + "id": "n1226", "name": "参数", "width": 114.0, "height": "fit_content", @@ -22911,7 +20964,7 @@ "children": [ { "type": "text", - "id": "n1334", + "id": "n1227", "name": "initialValue", "width": "fit_content", "height": "fit_content", @@ -22932,7 +20985,7 @@ }, { "type": "rectangle", - "id": "n1335", + "id": "n1228", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -22946,7 +20999,7 @@ }, { "type": "frame", - "id": "n1336", + "id": "n1229", "name": "值", "width": 469.0, "height": "fit_content", @@ -22960,7 +21013,7 @@ "children": [ { "type": "text", - "id": "n1337", + "id": "n1230", "name": "空", "width": "fit_content", "height": "fit_content", @@ -22987,7 +21040,7 @@ }, { "type": "frame", - "id": "n1338", + "id": "n1231", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -22998,9 +21051,9 @@ "children": [ { "type": "frame", - "id": "n1339", + "id": "n1232", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -23009,7 +21062,7 @@ "children": [ { "type": "icon_font", - "id": "n1340", + "id": "n1233", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -23023,7 +21076,7 @@ }, { "type": "text", - "id": "n1341", + "id": "n1234", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -23044,7 +21097,7 @@ }, { "type": "text", - "id": "n1342", + "id": "n1235", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -23065,7 +21118,7 @@ }, { "type": "frame", - "id": "n1343", + "id": "n1236", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -23081,7 +21134,7 @@ "children": [ { "type": "frame", - "id": "n1344", + "id": "n1237", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -23101,7 +21154,7 @@ "children": [ { "type": "frame", - "id": "n1345", + "id": "n1238", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -23118,7 +21171,7 @@ "children": [ { "type": "frame", - "id": "n1346", + "id": "n1239", "name": "名称", "width": 66.0, "height": "fit_content", @@ -23132,7 +21185,7 @@ "children": [ { "type": "text", - "id": "n1347", + "id": "n1240", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -23153,7 +21206,7 @@ }, { "type": "rectangle", - "id": "n1348", + "id": "n1241", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -23167,7 +21220,7 @@ }, { "type": "frame", - "id": "n1349", + "id": "n1242", "name": "是什么", "width": 517.0, "height": "fit_content", @@ -23181,7 +21234,7 @@ "children": [ { "type": "text", - "id": "n1350", + "id": "n1243", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -23204,7 +21257,7 @@ }, { "type": "rectangle", - "id": "n1351", + "id": "n1244", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -23218,7 +21271,7 @@ }, { "type": "frame", - "id": "n1352", + "id": "n1245", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -23229,7 +21282,7 @@ "children": [ { "type": "frame", - "id": "n1353", + "id": "n1246", "name": "名称", "width": 66.0, "height": "fit_content", @@ -23243,7 +21296,7 @@ "children": [ { "type": "text", - "id": "n1354", + "id": "n1247", "name": "boxRef", "width": "fit_content", "height": "fit_content", @@ -23264,7 +21317,7 @@ }, { "type": "rectangle", - "id": "n1355", + "id": "n1248", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -23278,7 +21331,7 @@ }, { "type": "frame", - "id": "n1356", + "id": "n1249", "name": "是什么", "width": 517.0, "height": "fit_content", @@ -23292,7 +21345,7 @@ "children": [ { "type": "text", - "id": "n1357", + "id": "n1250", "name": "引用对象", "width": "fit_content", "height": "fit_content", @@ -23316,598 +21369,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1358", - "name": "Prop / 指向", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1359", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1360", - "name": "指向", - "width": "fit_content", - "height": "fit_content", - "content": "指向", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1361", - "name": "
元素", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "
", - "fill": "#808080" - }, - { - "text": " 元素", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1362", - "name": "Prop / 用在", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1363", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1364", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1365", - "name": "用在", - "width": "fit_content", - "height": "fit_content", - "content": "用在", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1366", - "name": "2 个", - "width": "fit_content", - "height": "fit_content", - "content": "2 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1367", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1368", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1369", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1370", - "name": "位置", - "width": 135.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1371", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1372", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1373", - "name": "写法", - "width": 448.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1374", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1375", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1376", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1377", - "name": "位置", - "width": 135.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1378", - "name": "
", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "
", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1379", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1380", - "name": "写法", - "width": 448.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1381", - "name": "ref={boxRef}", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "ref", - "fill": "#9cdcfe" - }, - { - "text": "={", - "fill": "#cccccc" - }, - { - "text": "boxRef", - "fill": "#9cdcfe" - }, - { - "text": "}", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1382", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1383", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1384", - "name": "位置", - "width": 135.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1385", - "name": "副作用「仅挂载时」", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "副作用「仅挂载时」", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1386", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1387", - "name": "写法", - "width": 448.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1388", - "name": "boxRef.current?.scrollTo(0, 0)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "boxRef", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "current", - "fill": "#9cdcfe" - }, - { - "text": "?.", - "fill": "#cccccc" - }, - { - "text": "scrollTo", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "0", - "fill": "#b5cea8" - }, - { - "text": ", ", - "fill": "#cccccc" - }, - { - "text": "0", - "fill": "#b5cea8" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1389", + "id": "n1251", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -23918,7 +21385,7 @@ "children": [ { "type": "frame", - "id": "n1390", + "id": "n1252", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -23931,7 +21398,7 @@ "children": [ { "type": "icon_font", - "id": "n1391", + "id": "n1253", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -23947,7 +21414,7 @@ }, { "type": "frame", - "id": "n1392", + "id": "n1254", "name": "pencil", "width": 22.0, "height": 20.0, @@ -23960,7 +21427,7 @@ "children": [ { "type": "icon_font", - "id": "n1393", + "id": "n1255", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -23988,7 +21455,7 @@ }, { "type": "frame", - "id": "n1394", + "id": "n1256", "name": "Lines 31–31", "width": "fill_container", "height": "fit_content", @@ -23999,7 +21466,7 @@ "children": [ { "type": "frame", - "id": "n1395", + "id": "n1257", "name": "Code", "width": 600.0, "height": "fill_container", @@ -24015,7 +21482,7 @@ "children": [ { "type": "frame", - "id": "n1396", + "id": "n1258", "name": "Line 31", "width": "fill_container", "height": 20.0, @@ -24026,7 +21493,7 @@ "children": [ { "type": "frame", - "id": "n1397", + "id": "n1259", "name": "Number", "width": 44.0, "height": 20.0, @@ -24038,7 +21505,7 @@ "children": [ { "type": "text", - "id": "n1398", + "id": "n1260", "name": "31", "width": "fit_content", "height": "fit_content", @@ -24059,7 +21526,7 @@ }, { "type": "frame", - "id": "n1399", + "id": "n1261", "name": "Margin", "width": 41.66, "height": 20.0, @@ -24067,7 +21534,7 @@ }, { "type": "text", - "id": "n1400", + "id": "n1262", "name": "const timer = useRef()", "width": "fit_content", "height": "fit_content", @@ -24127,7 +21594,7 @@ }, { "type": "rectangle", - "id": "n1401", + "id": "n1263", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -24141,7 +21608,7 @@ }, { "type": "frame", - "id": "n1402", + "id": "n1264", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -24157,7 +21624,7 @@ "children": [ { "type": "frame", - "id": "n1403", + "id": "n1265", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -24168,7 +21635,7 @@ "children": [ { "type": "frame", - "id": "n1404", + "id": "n1266", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -24179,7 +21646,7 @@ "children": [ { "type": "rectangle", - "id": "n1405", + "id": "n1267", "name": "Line", "width": 1.0, "height": "fill_container", @@ -24195,7 +21662,7 @@ }, { "type": "frame", - "id": "n1406", + "id": "n1268", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -24211,7 +21678,7 @@ "children": [ { "type": "frame", - "id": "n1407", + "id": "n1269", "name": "钩子 / useRef · timer", "width": "fill_container", "height": "fit_content", @@ -24244,7 +21711,7 @@ "children": [ { "type": "frame", - "id": "n1408", + "id": "n1270", "name": "Fold", "width": 14.0, "height": 20.0, @@ -24257,7 +21724,7 @@ }, { "type": "frame", - "id": "n1409", + "id": "n1271", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -24268,7 +21735,7 @@ "children": [ { "type": "frame", - "id": "n1410", + "id": "n1272", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -24280,7 +21747,7 @@ "children": [ { "type": "icon_font", - "id": "n1411", + "id": "n1273", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -24296,7 +21763,7 @@ }, { "type": "frame", - "id": "n1412", + "id": "n1274", "name": "Concept / 引用", "width": 20.0, "height": 20.0, @@ -24308,7 +21775,7 @@ "children": [ { "type": "icon_font", - "id": "n1413", + "id": "n1275", "name": "anchor", "iconFontName": "anchor", "width": 16.0, @@ -24326,7 +21793,7 @@ }, { "type": "frame", - "id": "n1414", + "id": "n1276", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -24336,7 +21803,7 @@ "children": [ { "type": "frame", - "id": "n1415", + "id": "n1277", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -24347,9 +21814,9 @@ "children": [ { "type": "frame", - "id": "n1416", + "id": "n1278", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -24358,7 +21825,7 @@ "children": [ { "type": "text", - "id": "n1417", + "id": "n1279", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -24379,7 +21846,7 @@ }, { "type": "text", - "id": "n1418", + "id": "n1280", "name": "useRef", "width": "fit_content", "height": "fit_content", @@ -24406,7 +21873,7 @@ }, { "type": "frame", - "id": "n1419", + "id": "n1281", "name": "Prop / 类型参数", "width": "fill_container", "height": "fit_content", @@ -24417,9 +21884,9 @@ "children": [ { "type": "frame", - "id": "n1420", + "id": "n1282", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -24428,7 +21895,7 @@ "children": [ { "type": "text", - "id": "n1421", + "id": "n1283", "name": "类型参数", "width": "fit_content", "height": "fit_content", @@ -24449,7 +21916,7 @@ }, { "type": "text", - "id": "n1422", + "id": "n1284", "name": "数值", "width": "fit_content", "height": "fit_content", @@ -24470,7 +21937,7 @@ }, { "type": "frame", - "id": "n1423", + "id": "n1285", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -24481,9 +21948,9 @@ "children": [ { "type": "frame", - "id": "n1424", + "id": "n1286", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -24492,7 +21959,7 @@ "children": [ { "type": "icon_font", - "id": "n1425", + "id": "n1287", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -24506,7 +21973,7 @@ }, { "type": "text", - "id": "n1426", + "id": "n1288", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -24527,7 +21994,7 @@ }, { "type": "text", - "id": "n1427", + "id": "n1289", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -24548,7 +22015,7 @@ }, { "type": "frame", - "id": "n1428", + "id": "n1290", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -24564,7 +22031,7 @@ "children": [ { "type": "frame", - "id": "n1429", + "id": "n1291", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -24584,7 +22051,7 @@ "children": [ { "type": "frame", - "id": "n1430", + "id": "n1292", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -24601,7 +22068,7 @@ "children": [ { "type": "frame", - "id": "n1431", + "id": "n1293", "name": "参数", "width": 114.0, "height": "fit_content", @@ -24615,7 +22082,7 @@ "children": [ { "type": "text", - "id": "n1432", + "id": "n1294", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -24636,7 +22103,7 @@ }, { "type": "rectangle", - "id": "n1433", + "id": "n1295", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -24650,7 +22117,7 @@ }, { "type": "frame", - "id": "n1434", + "id": "n1296", "name": "值", "width": 469.0, "height": "fit_content", @@ -24664,7 +22131,7 @@ "children": [ { "type": "text", - "id": "n1435", + "id": "n1297", "name": "值", "width": "fit_content", "height": "fit_content", @@ -24687,7 +22154,7 @@ }, { "type": "rectangle", - "id": "n1436", + "id": "n1298", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -24701,7 +22168,7 @@ }, { "type": "frame", - "id": "n1437", + "id": "n1299", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -24712,7 +22179,7 @@ "children": [ { "type": "frame", - "id": "n1438", + "id": "n1300", "name": "参数", "width": 114.0, "height": "fit_content", @@ -24726,7 +22193,7 @@ "children": [ { "type": "text", - "id": "n1439", + "id": "n1301", "name": "initialValue", "width": "fit_content", "height": "fit_content", @@ -24747,7 +22214,7 @@ }, { "type": "rectangle", - "id": "n1440", + "id": "n1302", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -24761,7 +22228,7 @@ }, { "type": "frame", - "id": "n1441", + "id": "n1303", "name": "值", "width": 469.0, "height": "fit_content", @@ -24775,7 +22242,7 @@ "children": [ { "type": "text", - "id": "n1442", + "id": "n1304", "name": "没写,未定义", "width": "fit_content", "height": "fit_content", @@ -24811,7 +22278,7 @@ }, { "type": "frame", - "id": "n1443", + "id": "n1305", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -24822,9 +22289,9 @@ "children": [ { "type": "frame", - "id": "n1444", + "id": "n1306", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -24833,7 +22300,7 @@ "children": [ { "type": "icon_font", - "id": "n1445", + "id": "n1307", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -24847,7 +22314,7 @@ }, { "type": "text", - "id": "n1446", + "id": "n1308", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -24868,7 +22335,7 @@ }, { "type": "text", - "id": "n1447", + "id": "n1309", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -24889,7 +22356,7 @@ }, { "type": "frame", - "id": "n1448", + "id": "n1310", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -24905,7 +22372,7 @@ "children": [ { "type": "frame", - "id": "n1449", + "id": "n1311", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -24925,7 +22392,7 @@ "children": [ { "type": "frame", - "id": "n1450", + "id": "n1312", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -24942,7 +22409,7 @@ "children": [ { "type": "frame", - "id": "n1451", + "id": "n1313", "name": "名称", "width": 58.0, "height": "fit_content", @@ -24956,7 +22423,7 @@ "children": [ { "type": "text", - "id": "n1452", + "id": "n1314", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -24977,7 +22444,7 @@ }, { "type": "rectangle", - "id": "n1453", + "id": "n1315", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -24991,7 +22458,7 @@ }, { "type": "frame", - "id": "n1454", + "id": "n1316", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -25005,7 +22472,7 @@ "children": [ { "type": "text", - "id": "n1455", + "id": "n1317", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -25028,7 +22495,7 @@ }, { "type": "rectangle", - "id": "n1456", + "id": "n1318", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -25042,7 +22509,7 @@ }, { "type": "frame", - "id": "n1457", + "id": "n1319", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -25053,7 +22520,7 @@ "children": [ { "type": "frame", - "id": "n1458", + "id": "n1320", "name": "名称", "width": 58.0, "height": "fit_content", @@ -25067,7 +22534,7 @@ "children": [ { "type": "text", - "id": "n1459", + "id": "n1321", "name": "timer", "width": "fit_content", "height": "fit_content", @@ -25088,7 +22555,7 @@ }, { "type": "rectangle", - "id": "n1460", + "id": "n1322", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -25102,7 +22569,7 @@ }, { "type": "frame", - "id": "n1461", + "id": "n1323", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -25116,7 +22583,7 @@ "children": [ { "type": "text", - "id": "n1462", + "id": "n1324", "name": "引用对象", "width": "fit_content", "height": "fit_content", @@ -25140,525 +22607,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1463", - "name": "Prop / 用在", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1464", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1465", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1466", - "name": "用在", - "width": "fit_content", - "height": "fit_content", - "content": "用在", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1467", - "name": "2 个", - "width": "fit_content", - "height": "fit_content", - "content": "2 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1468", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1469", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1470", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1471", - "name": "位置", - "width": 227.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1472", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1473", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1474", - "name": "写法", - "width": 356.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1475", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1476", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1477", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1478", - "name": "位置", - "width": 227.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1479", - "name": "副作用「open 变化时」", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "副作用「open 变化时」", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1480", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1481", - "name": "写法", - "width": 356.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1482", - "name": "timer.current = window.setTimeout(…)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "timer", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "current", - "fill": "#9cdcfe" - }, - { - "text": " = ", - "fill": "#cccccc" - }, - { - "text": "window", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "setTimeout", - "fill": "#dcdcaa" - }, - { - "text": "(…)", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1483", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1484", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1485", - "name": "位置", - "width": 227.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1486", - "name": "副作用「open 变化时」的清理函数", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "副作用「open 变化时」的清理函数", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1487", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1488", - "name": "写法", - "width": 356.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1489", - "name": "clearTimeout(timer.current)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "clearTimeout", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "timer", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "current", - "fill": "#9cdcfe" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1490", + "id": "n1325", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -25669,7 +22623,7 @@ "children": [ { "type": "frame", - "id": "n1491", + "id": "n1326", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -25682,7 +22636,7 @@ "children": [ { "type": "icon_font", - "id": "n1492", + "id": "n1327", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -25698,7 +22652,7 @@ }, { "type": "frame", - "id": "n1493", + "id": "n1328", "name": "pencil", "width": 22.0, "height": 20.0, @@ -25711,7 +22665,7 @@ "children": [ { "type": "icon_font", - "id": "n1494", + "id": "n1329", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -25739,7 +22693,7 @@ }, { "type": "frame", - "id": "n1495", + "id": "n1330", "name": "Lines 32–35", "width": "fill_container", "height": "fit_content", @@ -25750,7 +22704,7 @@ "children": [ { "type": "frame", - "id": "n1496", + "id": "n1331", "name": "Code", "width": 600.0, "height": "fill_container", @@ -25766,7 +22720,7 @@ "children": [ { "type": "frame", - "id": "n1497", + "id": "n1332", "name": "Line 32", "width": "fill_container", "height": 20.0, @@ -25777,7 +22731,7 @@ "children": [ { "type": "frame", - "id": "n1498", + "id": "n1333", "name": "Number", "width": 44.0, "height": 20.0, @@ -25789,7 +22743,7 @@ "children": [ { "type": "text", - "id": "n1499", + "id": "n1334", "name": "32", "width": "fit_content", "height": "fit_content", @@ -25810,7 +22764,7 @@ }, { "type": "frame", - "id": "n1500", + "id": "n1335", "name": "Margin", "width": 41.66, "height": 20.0, @@ -25818,7 +22772,7 @@ }, { "type": "text", - "id": "n1501", + "id": "n1336", "name": "const total = useMemo(() => {", "width": "fit_content", "height": "fit_content", @@ -25884,7 +22838,7 @@ }, { "type": "frame", - "id": "n1502", + "id": "n1337", "name": "Line 33", "width": "fill_container", "height": 20.0, @@ -25895,7 +22849,7 @@ "children": [ { "type": "frame", - "id": "n1503", + "id": "n1338", "name": "Number", "width": 44.0, "height": 20.0, @@ -25907,7 +22861,7 @@ "children": [ { "type": "text", - "id": "n1504", + "id": "n1339", "name": "33", "width": "fit_content", "height": "fit_content", @@ -25928,7 +22882,7 @@ }, { "type": "frame", - "id": "n1505", + "id": "n1340", "name": "Margin", "width": 57.32, "height": 20.0, @@ -25936,7 +22890,7 @@ }, { "type": "text", - "id": "n1506", + "id": "n1341", "name": "const sum = messages.length", "width": "fit_content", "height": "fit_content", @@ -25986,7 +22940,7 @@ }, { "type": "frame", - "id": "n1507", + "id": "n1342", "name": "Line 34", "width": "fill_container", "height": 20.0, @@ -25997,7 +22951,7 @@ "children": [ { "type": "frame", - "id": "n1508", + "id": "n1343", "name": "Number", "width": 44.0, "height": 20.0, @@ -26009,7 +22963,7 @@ "children": [ { "type": "text", - "id": "n1509", + "id": "n1344", "name": "34", "width": "fit_content", "height": "fit_content", @@ -26030,7 +22984,7 @@ }, { "type": "frame", - "id": "n1510", + "id": "n1345", "name": "Margin", "width": 57.32, "height": 20.0, @@ -26038,7 +22992,7 @@ }, { "type": "text", - "id": "n1511", + "id": "n1346", "name": "return sum * 2", "width": "fit_content", "height": "fit_content", @@ -26080,7 +23034,7 @@ }, { "type": "frame", - "id": "n1512", + "id": "n1347", "name": "Line 35", "width": "fill_container", "height": 20.0, @@ -26091,7 +23045,7 @@ "children": [ { "type": "frame", - "id": "n1513", + "id": "n1348", "name": "Number", "width": 44.0, "height": 20.0, @@ -26103,7 +23057,7 @@ "children": [ { "type": "text", - "id": "n1514", + "id": "n1349", "name": "35", "width": "fit_content", "height": "fit_content", @@ -26124,7 +23078,7 @@ }, { "type": "frame", - "id": "n1515", + "id": "n1350", "name": "Margin", "width": 41.66, "height": 20.0, @@ -26132,7 +23086,7 @@ }, { "type": "text", - "id": "n1516", + "id": "n1351", "name": "}, [messages])", "width": "fit_content", "height": "fit_content", @@ -26180,7 +23134,7 @@ }, { "type": "rectangle", - "id": "n1517", + "id": "n1352", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -26194,7 +23148,7 @@ }, { "type": "frame", - "id": "n1518", + "id": "n1353", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -26210,7 +23164,7 @@ "children": [ { "type": "frame", - "id": "n1519", + "id": "n1354", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -26221,7 +23175,7 @@ "children": [ { "type": "frame", - "id": "n1520", + "id": "n1355", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -26232,7 +23186,7 @@ "children": [ { "type": "rectangle", - "id": "n1521", + "id": "n1356", "name": "Line", "width": 1.0, "height": "fill_container", @@ -26248,7 +23202,7 @@ }, { "type": "frame", - "id": "n1522", + "id": "n1357", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -26264,7 +23218,7 @@ "children": [ { "type": "frame", - "id": "n1523", + "id": "n1358", "name": "钩子 / useMemo · total", "width": "fill_container", "height": "fit_content", @@ -26297,7 +23251,7 @@ "children": [ { "type": "frame", - "id": "n1524", + "id": "n1359", "name": "Fold", "width": 14.0, "height": 20.0, @@ -26309,7 +23263,7 @@ "children": [ { "type": "icon_font", - "id": "n1525", + "id": "n1360", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -26325,7 +23279,7 @@ }, { "type": "frame", - "id": "n1526", + "id": "n1361", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -26336,7 +23290,7 @@ "children": [ { "type": "frame", - "id": "n1527", + "id": "n1362", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -26348,7 +23302,7 @@ "children": [ { "type": "icon_font", - "id": "n1528", + "id": "n1363", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -26364,7 +23318,7 @@ }, { "type": "frame", - "id": "n1529", + "id": "n1364", "name": "Concept / 性能", "width": 20.0, "height": 20.0, @@ -26376,7 +23330,7 @@ "children": [ { "type": "icon_font", - "id": "n1530", + "id": "n1365", "name": "sigma", "iconFontName": "sigma", "width": 16.0, @@ -26394,7 +23348,7 @@ }, { "type": "frame", - "id": "n1531", + "id": "n1366", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -26404,7 +23358,7 @@ "children": [ { "type": "frame", - "id": "n1532", + "id": "n1367", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -26415,9 +23369,9 @@ "children": [ { "type": "frame", - "id": "n1533", + "id": "n1368", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -26426,7 +23380,7 @@ "children": [ { "type": "text", - "id": "n1534", + "id": "n1369", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -26447,7 +23401,7 @@ }, { "type": "text", - "id": "n1535", + "id": "n1370", "name": "useMemo", "width": "fit_content", "height": "fit_content", @@ -26474,7 +23428,7 @@ }, { "type": "frame", - "id": "n1536", + "id": "n1371", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -26485,9 +23439,9 @@ "children": [ { "type": "frame", - "id": "n1537", + "id": "n1372", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -26496,7 +23450,7 @@ "children": [ { "type": "icon_font", - "id": "n1538", + "id": "n1373", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -26510,7 +23464,7 @@ }, { "type": "text", - "id": "n1539", + "id": "n1374", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -26531,7 +23485,7 @@ }, { "type": "text", - "id": "n1540", + "id": "n1375", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -26552,7 +23506,7 @@ }, { "type": "frame", - "id": "n1541", + "id": "n1376", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -26568,7 +23522,7 @@ "children": [ { "type": "frame", - "id": "n1542", + "id": "n1377", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -26588,7 +23542,7 @@ "children": [ { "type": "frame", - "id": "n1543", + "id": "n1378", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -26605,7 +23559,7 @@ "children": [ { "type": "frame", - "id": "n1544", + "id": "n1379", "name": "参数", "width": 74.0, "height": "fit_content", @@ -26619,7 +23573,7 @@ "children": [ { "type": "text", - "id": "n1545", + "id": "n1380", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -26640,7 +23594,7 @@ }, { "type": "rectangle", - "id": "n1546", + "id": "n1381", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -26654,7 +23608,7 @@ }, { "type": "frame", - "id": "n1547", + "id": "n1382", "name": "值", "width": 509.0, "height": "fit_content", @@ -26668,7 +23622,7 @@ "children": [ { "type": "text", - "id": "n1548", + "id": "n1383", "name": "值", "width": "fit_content", "height": "fit_content", @@ -26691,7 +23645,7 @@ }, { "type": "rectangle", - "id": "n1549", + "id": "n1384", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -26705,7 +23659,7 @@ }, { "type": "frame", - "id": "n1550", + "id": "n1385", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -26716,7 +23670,7 @@ "children": [ { "type": "frame", - "id": "n1551", + "id": "n1386", "name": "参数", "width": 74.0, "height": "fit_content", @@ -26730,7 +23684,7 @@ "children": [ { "type": "text", - "id": "n1552", + "id": "n1387", "name": "factory", "width": "fit_content", "height": "fit_content", @@ -26751,7 +23705,7 @@ }, { "type": "rectangle", - "id": "n1553", + "id": "n1388", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -26765,7 +23719,7 @@ }, { "type": "frame", - "id": "n1554", + "id": "n1389", "name": "值", "width": 509.0, "height": "fit_content", @@ -26779,7 +23733,7 @@ "children": [ { "type": "frame", - "id": "n1555", + "id": "n1390", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -26812,7 +23766,7 @@ "children": [ { "type": "icon_font", - "id": "n1556", + "id": "n1391", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -26826,7 +23780,7 @@ }, { "type": "text", - "id": "n1557", + "id": "n1392", "name": "函数 · 2 句", "width": "fit_content", "height": "fit_content", @@ -26860,7 +23814,7 @@ }, { "type": "rectangle", - "id": "n1558", + "id": "n1393", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -26874,7 +23828,7 @@ }, { "type": "frame", - "id": "n1559", + "id": "n1394", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -26885,7 +23839,7 @@ "children": [ { "type": "frame", - "id": "n1560", + "id": "n1395", "name": "参数", "width": 74.0, "height": "fit_content", @@ -26899,7 +23853,7 @@ "children": [ { "type": "text", - "id": "n1561", + "id": "n1396", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -26920,7 +23874,7 @@ }, { "type": "rectangle", - "id": "n1562", + "id": "n1397", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -26934,7 +23888,7 @@ }, { "type": "frame", - "id": "n1563", + "id": "n1398", "name": "值", "width": 509.0, "height": "fit_content", @@ -26948,7 +23902,7 @@ "children": [ { "type": "text", - "id": "n1564", + "id": "n1399", "name": "messages 变化时", "width": "fit_content", "height": "fit_content", @@ -26984,7 +23938,7 @@ }, { "type": "frame", - "id": "n1565", + "id": "n1400", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -26995,9 +23949,9 @@ "children": [ { "type": "frame", - "id": "n1566", + "id": "n1401", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -27006,7 +23960,7 @@ "children": [ { "type": "icon_font", - "id": "n1567", + "id": "n1402", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -27020,7 +23974,7 @@ }, { "type": "text", - "id": "n1568", + "id": "n1403", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -27041,7 +23995,7 @@ }, { "type": "text", - "id": "n1569", + "id": "n1404", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -27062,7 +24016,7 @@ }, { "type": "frame", - "id": "n1570", + "id": "n1405", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -27078,7 +24032,7 @@ "children": [ { "type": "frame", - "id": "n1571", + "id": "n1406", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -27098,7 +24052,7 @@ "children": [ { "type": "frame", - "id": "n1572", + "id": "n1407", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -27115,7 +24069,7 @@ "children": [ { "type": "frame", - "id": "n1573", + "id": "n1408", "name": "名称", "width": 58.0, "height": "fit_content", @@ -27129,7 +24083,7 @@ "children": [ { "type": "text", - "id": "n1574", + "id": "n1409", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -27150,7 +24104,7 @@ }, { "type": "rectangle", - "id": "n1575", + "id": "n1410", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -27164,7 +24118,7 @@ }, { "type": "frame", - "id": "n1576", + "id": "n1411", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -27178,7 +24132,7 @@ "children": [ { "type": "text", - "id": "n1577", + "id": "n1412", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -27201,7 +24155,7 @@ }, { "type": "rectangle", - "id": "n1578", + "id": "n1413", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -27215,7 +24169,7 @@ }, { "type": "frame", - "id": "n1579", + "id": "n1414", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -27226,7 +24180,7 @@ "children": [ { "type": "frame", - "id": "n1580", + "id": "n1415", "name": "名称", "width": 58.0, "height": "fit_content", @@ -27240,7 +24194,7 @@ "children": [ { "type": "text", - "id": "n1581", + "id": "n1416", "name": "total", "width": "fit_content", "height": "fit_content", @@ -27261,7 +24215,7 @@ }, { "type": "rectangle", - "id": "n1582", + "id": "n1417", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -27275,7 +24229,7 @@ }, { "type": "frame", - "id": "n1583", + "id": "n1418", "name": "是什么", "width": 525.0, "height": "fit_content", @@ -27289,7 +24243,7 @@ "children": [ { "type": "text", - "id": "n1584", + "id": "n1419", "name": "算出的值", "width": "fit_content", "height": "fit_content", @@ -27313,120 +24267,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1585", - "name": "Prop / 算出", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1586", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1587", - "name": "算出", - "width": "fit_content", - "height": "fit_content", - "content": "算出", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1588", - "name": "Value", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 2.0, - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1589", - "name": "sum * 2", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "sum", - "fill": "#9cdcfe" - }, - { - "text": " * ", - "fill": "#cccccc" - }, - { - "text": "2", - "fill": "#b5cea8" - } - ], - "fontFamily": "Menlo", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - }, - { - "type": "text", - "id": "n1590", - "name": "其中 sum = messages.length", - "width": "fit_content", - "height": "fit_content", - "content": "其中 sum = messages.length", - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1591", + "id": "n1420", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -27437,7 +24283,7 @@ "children": [ { "type": "frame", - "id": "n1592", + "id": "n1421", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -27450,7 +24296,7 @@ "children": [ { "type": "icon_font", - "id": "n1593", + "id": "n1422", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -27466,7 +24312,7 @@ }, { "type": "frame", - "id": "n1594", + "id": "n1423", "name": "pencil", "width": 22.0, "height": 20.0, @@ -27479,7 +24325,7 @@ "children": [ { "type": "icon_font", - "id": "n1595", + "id": "n1424", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -27507,7 +24353,7 @@ }, { "type": "frame", - "id": "n1596", + "id": "n1425", "name": "Lines 36–39", "width": "fill_container", "height": "fit_content", @@ -27518,7 +24364,7 @@ "children": [ { "type": "frame", - "id": "n1597", + "id": "n1426", "name": "Code", "width": 600.0, "height": "fill_container", @@ -27534,7 +24380,7 @@ "children": [ { "type": "frame", - "id": "n1598", + "id": "n1427", "name": "Line 36", "width": "fill_container", "height": 20.0, @@ -27545,7 +24391,7 @@ "children": [ { "type": "frame", - "id": "n1599", + "id": "n1428", "name": "Number", "width": 44.0, "height": 20.0, @@ -27557,7 +24403,7 @@ "children": [ { "type": "text", - "id": "n1600", + "id": "n1429", "name": "36", "width": "fit_content", "height": "fit_content", @@ -27578,7 +24424,7 @@ }, { "type": "frame", - "id": "n1601", + "id": "n1430", "name": "Margin", "width": 41.66, "height": 20.0, @@ -27586,7 +24432,7 @@ }, { "type": "text", - "id": "n1602", + "id": "n1431", "name": "const toggle = useCallback((next: boolea", "width": "fit_content", "height": "fit_content", @@ -27668,7 +24514,7 @@ }, { "type": "frame", - "id": "n1603", + "id": "n1432", "name": "Line 37", "width": "fill_container", "height": 20.0, @@ -27679,7 +24525,7 @@ "children": [ { "type": "frame", - "id": "n1604", + "id": "n1433", "name": "Number", "width": 44.0, "height": 20.0, @@ -27691,7 +24537,7 @@ "children": [ { "type": "text", - "id": "n1605", + "id": "n1434", "name": "37", "width": "fit_content", "height": "fit_content", @@ -27712,7 +24558,7 @@ }, { "type": "frame", - "id": "n1606", + "id": "n1435", "name": "Margin", "width": 57.32, "height": 20.0, @@ -27720,7 +24566,7 @@ }, { "type": "text", - "id": "n1607", + "id": "n1436", "name": "setOpen(next)", "width": "fit_content", "height": "fit_content", @@ -27758,7 +24604,7 @@ }, { "type": "frame", - "id": "n1608", + "id": "n1437", "name": "Line 38", "width": "fill_container", "height": 20.0, @@ -27769,7 +24615,7 @@ "children": [ { "type": "frame", - "id": "n1609", + "id": "n1438", "name": "Number", "width": 44.0, "height": 20.0, @@ -27781,7 +24627,7 @@ "children": [ { "type": "text", - "id": "n1610", + "id": "n1439", "name": "38", "width": "fit_content", "height": "fit_content", @@ -27802,7 +24648,7 @@ }, { "type": "frame", - "id": "n1611", + "id": "n1440", "name": "Margin", "width": 57.32, "height": 20.0, @@ -27810,7 +24656,7 @@ }, { "type": "text", - "id": "n1612", + "id": "n1441", "name": "dispatch({ type: 'add' })", "width": "fit_content", "height": "fit_content", @@ -27872,7 +24718,7 @@ }, { "type": "frame", - "id": "n1613", + "id": "n1442", "name": "Line 39", "width": "fill_container", "height": 20.0, @@ -27883,7 +24729,7 @@ "children": [ { "type": "frame", - "id": "n1614", + "id": "n1443", "name": "Number", "width": 44.0, "height": 20.0, @@ -27895,7 +24741,7 @@ "children": [ { "type": "text", - "id": "n1615", + "id": "n1444", "name": "39", "width": "fit_content", "height": "fit_content", @@ -27916,7 +24762,7 @@ }, { "type": "frame", - "id": "n1616", + "id": "n1445", "name": "Margin", "width": 41.66, "height": 20.0, @@ -27924,7 +24770,7 @@ }, { "type": "text", - "id": "n1617", + "id": "n1446", "name": "}, [])", "width": "fit_content", "height": "fit_content", @@ -27964,7 +24810,7 @@ }, { "type": "rectangle", - "id": "n1618", + "id": "n1447", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -27978,7 +24824,7 @@ }, { "type": "frame", - "id": "n1619", + "id": "n1448", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -27994,7 +24840,7 @@ "children": [ { "type": "frame", - "id": "n1620", + "id": "n1449", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -28005,7 +24851,7 @@ "children": [ { "type": "frame", - "id": "n1621", + "id": "n1450", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -28016,7 +24862,7 @@ "children": [ { "type": "rectangle", - "id": "n1622", + "id": "n1451", "name": "Line", "width": 1.0, "height": "fill_container", @@ -28032,7 +24878,7 @@ }, { "type": "frame", - "id": "n1623", + "id": "n1452", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -28048,7 +24894,7 @@ "children": [ { "type": "frame", - "id": "n1624", + "id": "n1453", "name": "钩子 / useCallback · toggle", "width": "fill_container", "height": "fit_content", @@ -28081,7 +24927,7 @@ "children": [ { "type": "frame", - "id": "n1625", + "id": "n1454", "name": "Fold", "width": 14.0, "height": 20.0, @@ -28093,7 +24939,7 @@ "children": [ { "type": "icon_font", - "id": "n1626", + "id": "n1455", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -28109,7 +24955,7 @@ }, { "type": "frame", - "id": "n1627", + "id": "n1456", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -28120,7 +24966,7 @@ "children": [ { "type": "frame", - "id": "n1628", + "id": "n1457", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -28132,7 +24978,7 @@ "children": [ { "type": "icon_font", - "id": "n1629", + "id": "n1458", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -28148,7 +24994,7 @@ }, { "type": "frame", - "id": "n1630", + "id": "n1459", "name": "Concept / 性能", "width": 20.0, "height": 20.0, @@ -28160,7 +25006,7 @@ "children": [ { "type": "icon_font", - "id": "n1631", + "id": "n1460", "name": "sigma", "iconFontName": "sigma", "width": 16.0, @@ -28178,7 +25024,7 @@ }, { "type": "frame", - "id": "n1632", + "id": "n1461", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -28188,7 +25034,7 @@ "children": [ { "type": "frame", - "id": "n1633", + "id": "n1462", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -28199,9 +25045,9 @@ "children": [ { "type": "frame", - "id": "n1634", + "id": "n1463", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -28210,7 +25056,7 @@ "children": [ { "type": "text", - "id": "n1635", + "id": "n1464", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -28231,7 +25077,7 @@ }, { "type": "text", - "id": "n1636", + "id": "n1465", "name": "useCallback", "width": "fit_content", "height": "fit_content", @@ -28258,7 +25104,7 @@ }, { "type": "frame", - "id": "n1637", + "id": "n1466", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -28269,9 +25115,9 @@ "children": [ { "type": "frame", - "id": "n1638", + "id": "n1467", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -28280,7 +25126,7 @@ "children": [ { "type": "icon_font", - "id": "n1639", + "id": "n1468", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -28294,7 +25140,7 @@ }, { "type": "text", - "id": "n1640", + "id": "n1469", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -28315,7 +25161,7 @@ }, { "type": "text", - "id": "n1641", + "id": "n1470", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -28336,7 +25182,7 @@ }, { "type": "frame", - "id": "n1642", + "id": "n1471", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -28352,7 +25198,7 @@ "children": [ { "type": "frame", - "id": "n1643", + "id": "n1472", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -28372,7 +25218,7 @@ "children": [ { "type": "frame", - "id": "n1644", + "id": "n1473", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -28389,7 +25235,7 @@ "children": [ { "type": "frame", - "id": "n1645", + "id": "n1474", "name": "参数", "width": 82.0, "height": "fit_content", @@ -28403,7 +25249,7 @@ "children": [ { "type": "text", - "id": "n1646", + "id": "n1475", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -28424,7 +25270,7 @@ }, { "type": "rectangle", - "id": "n1647", + "id": "n1476", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -28438,9 +25284,9 @@ }, { "type": "frame", - "id": "n1648", + "id": "n1477", "name": "值", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -28452,7 +25298,7 @@ "children": [ { "type": "text", - "id": "n1649", + "id": "n1478", "name": "值", "width": "fit_content", "height": "fit_content", @@ -28475,7 +25321,7 @@ }, { "type": "rectangle", - "id": "n1650", + "id": "n1479", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -28489,7 +25335,7 @@ }, { "type": "frame", - "id": "n1651", + "id": "n1480", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -28500,7 +25346,7 @@ "children": [ { "type": "frame", - "id": "n1652", + "id": "n1481", "name": "参数", "width": 82.0, "height": "fit_content", @@ -28514,7 +25360,7 @@ "children": [ { "type": "text", - "id": "n1653", + "id": "n1482", "name": "callback", "width": "fit_content", "height": "fit_content", @@ -28535,7 +25381,7 @@ }, { "type": "rectangle", - "id": "n1654", + "id": "n1483", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -28549,9 +25395,9 @@ }, { "type": "frame", - "id": "n1655", + "id": "n1484", "name": "值", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -28563,7 +25409,7 @@ "children": [ { "type": "frame", - "id": "n1656", + "id": "n1485", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -28596,7 +25442,7 @@ "children": [ { "type": "icon_font", - "id": "n1657", + "id": "n1486", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -28610,7 +25456,7 @@ }, { "type": "text", - "id": "n1658", + "id": "n1487", "name": "函数 (next: 布尔) · 2 句", "width": "fit_content", "height": "fit_content", @@ -28664,7 +25510,7 @@ }, { "type": "rectangle", - "id": "n1659", + "id": "n1488", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -28678,7 +25524,7 @@ }, { "type": "frame", - "id": "n1660", + "id": "n1489", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -28689,7 +25535,7 @@ "children": [ { "type": "frame", - "id": "n1661", + "id": "n1490", "name": "参数", "width": 82.0, "height": "fit_content", @@ -28703,7 +25549,7 @@ "children": [ { "type": "text", - "id": "n1662", + "id": "n1491", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -28724,7 +25570,7 @@ }, { "type": "rectangle", - "id": "n1663", + "id": "n1492", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -28738,9 +25584,9 @@ }, { "type": "frame", - "id": "n1664", + "id": "n1493", "name": "值", - "width": 501.0, + "width": 462.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -28752,7 +25598,7 @@ "children": [ { "type": "text", - "id": "n1665", + "id": "n1494", "name": "仅挂载时", "width": "fit_content", "height": "fit_content", @@ -28779,7 +25625,7 @@ }, { "type": "frame", - "id": "n1666", + "id": "n1495", "name": "Prop / 返回", "width": "fill_container", "height": "fit_content", @@ -28790,9 +25636,9 @@ "children": [ { "type": "frame", - "id": "n1667", + "id": "n1496", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -28801,7 +25647,7 @@ "children": [ { "type": "icon_font", - "id": "n1668", + "id": "n1497", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -28815,7 +25661,7 @@ }, { "type": "text", - "id": "n1669", + "id": "n1498", "name": "返回", "width": "fit_content", "height": "fit_content", @@ -28836,7 +25682,7 @@ }, { "type": "text", - "id": "n1670", + "id": "n1499", "name": "1 个", "width": "fit_content", "height": "fit_content", @@ -28857,7 +25703,7 @@ }, { "type": "frame", - "id": "n1671", + "id": "n1500", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -28873,7 +25719,7 @@ "children": [ { "type": "frame", - "id": "n1672", + "id": "n1501", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -28893,7 +25739,7 @@ "children": [ { "type": "frame", - "id": "n1673", + "id": "n1502", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -28910,7 +25756,7 @@ "children": [ { "type": "frame", - "id": "n1674", + "id": "n1503", "name": "名称", "width": 66.0, "height": "fit_content", @@ -28924,7 +25770,7 @@ "children": [ { "type": "text", - "id": "n1675", + "id": "n1504", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -28945,7 +25791,7 @@ }, { "type": "rectangle", - "id": "n1676", + "id": "n1505", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -28959,9 +25805,9 @@ }, { "type": "frame", - "id": "n1677", + "id": "n1506", "name": "是什么", - "width": 517.0, + "width": 478.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -28973,7 +25819,7 @@ "children": [ { "type": "text", - "id": "n1678", + "id": "n1507", "name": "是什么", "width": "fit_content", "height": "fit_content", @@ -28996,7 +25842,7 @@ }, { "type": "rectangle", - "id": "n1679", + "id": "n1508", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -29010,7 +25856,7 @@ }, { "type": "frame", - "id": "n1680", + "id": "n1509", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -29021,7 +25867,7 @@ "children": [ { "type": "frame", - "id": "n1681", + "id": "n1510", "name": "名称", "width": 66.0, "height": "fit_content", @@ -29035,7 +25881,7 @@ "children": [ { "type": "text", - "id": "n1682", + "id": "n1511", "name": "toggle", "width": "fit_content", "height": "fit_content", @@ -29056,7 +25902,7 @@ }, { "type": "rectangle", - "id": "n1683", + "id": "n1512", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -29070,9 +25916,9 @@ }, { "type": "frame", - "id": "n1684", + "id": "n1513", "name": "是什么", - "width": 517.0, + "width": 478.0, "height": "fit_content", "layout": "vertical", "gap": 3.0, @@ -29084,7 +25930,7 @@ "children": [ { "type": "text", - "id": "n1685", + "id": "n1514", "name": "记住的函数", "width": "fit_content", "height": "fit_content", @@ -29108,379 +25954,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1686", - "name": "Prop / 调用位置", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1687", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1688", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1689", - "name": "调用位置", - "width": "fit_content", - "height": "fit_content", - "content": "调用位置", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1690", - "name": "1 个", - "width": "fit_content", - "height": "fit_content", - "content": "1 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1691", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1692", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1693", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1694", - "name": "位置", - "width": 106.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1695", - "name": "位置", - "width": "fit_content", - "height": "fit_content", - "content": "位置", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1696", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1697", - "name": "写法", - "width": 477.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1698", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1699", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1700", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1701", - "name": "位置", - "width": 106.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1702", - "name": "handleClick", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "handleClick", - "fill": "#b180d7", - "underline": true - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1703", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1704", - "name": "写法", - "width": 477.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1705", - "name": "toggle(open 不成立) 在过渡里", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "toggle", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "open", - "fill": "#9cdcfe" - }, - { - "text": " ", - "fill": "#cccccc" - }, - { - "text": "不成立", - "fill": "#569cd6" - }, - { - "text": ")", - "fill": "#cccccc" - }, - { - "text": " 在过渡里", - "fill": "#9d9d9d" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1706", + "id": "n1515", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -29491,7 +25970,7 @@ "children": [ { "type": "frame", - "id": "n1707", + "id": "n1516", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -29504,7 +25983,7 @@ "children": [ { "type": "icon_font", - "id": "n1708", + "id": "n1517", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -29520,7 +25999,7 @@ }, { "type": "frame", - "id": "n1709", + "id": "n1518", "name": "pencil", "width": 22.0, "height": 20.0, @@ -29533,7 +26012,7 @@ "children": [ { "type": "icon_font", - "id": "n1710", + "id": "n1519", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -29546,6 +26025,78 @@ ] } ] + }, + { + "type": "frame", + "id": "n1520", + "name": "git-branch", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 1.0, + "padding": [ + 0.0, + 4.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1521", + "name": "git-branch", + "iconFontName": "git-branch", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "frame", + "id": "n1522", + "name": "Count", + "width": 14.0, + "height": 14.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 7.0, + "fill": [ + { + "type": "solid", + "color": "#616161" + } + ], + "children": [ + { + "type": "text", + "id": "n1523", + "name": "1", + "width": "fit_content", + "height": "fit_content", + "content": "1", + "fontFamily": "PingFang SC", + "fontSize": 9.0, + "fontWeight": 700, + "lineHeight": 1.5555555555555556, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#f8f8f8" + } + ] + } + ] + } + ] } ] } @@ -29561,7 +26112,7 @@ }, { "type": "frame", - "id": "n1711", + "id": "n1524", "name": "Lines 40–43", "width": "fill_container", "height": "fit_content", @@ -29572,7 +26123,7 @@ "children": [ { "type": "frame", - "id": "n1712", + "id": "n1525", "name": "Code", "width": 600.0, "height": "fill_container", @@ -29588,7 +26139,7 @@ "children": [ { "type": "frame", - "id": "n1713", + "id": "n1526", "name": "Line 40", "width": "fill_container", "height": 20.0, @@ -29599,7 +26150,7 @@ "children": [ { "type": "frame", - "id": "n1714", + "id": "n1527", "name": "Number", "width": 44.0, "height": 20.0, @@ -29611,7 +26162,7 @@ "children": [ { "type": "text", - "id": "n1715", + "id": "n1528", "name": "40", "width": "fit_content", "height": "fit_content", @@ -29632,7 +26183,7 @@ }, { "type": "frame", - "id": "n1716", + "id": "n1529", "name": "Margin", "width": 41.66, "height": 20.0, @@ -29640,7 +26191,7 @@ }, { "type": "text", - "id": "n1717", + "id": "n1530", "name": "useEffect(() => {", "width": "fit_content", "height": "fit_content", @@ -29690,7 +26241,7 @@ }, { "type": "frame", - "id": "n1718", + "id": "n1531", "name": "Line 41", "width": "fill_container", "height": 20.0, @@ -29701,7 +26252,7 @@ "children": [ { "type": "frame", - "id": "n1719", + "id": "n1532", "name": "Number", "width": 44.0, "height": 20.0, @@ -29713,7 +26264,7 @@ "children": [ { "type": "text", - "id": "n1720", + "id": "n1533", "name": "41", "width": "fit_content", "height": "fit_content", @@ -29734,7 +26285,7 @@ }, { "type": "frame", - "id": "n1721", + "id": "n1534", "name": "Margin", "width": 57.32, "height": 20.0, @@ -29742,7 +26293,7 @@ }, { "type": "text", - "id": "n1722", + "id": "n1535", "name": "timer.current = window.setTimeout(() => ", "width": "fit_content", "height": "fit_content", @@ -29840,7 +26391,7 @@ }, { "type": "frame", - "id": "n1723", + "id": "n1536", "name": "Line 42", "width": "fill_container", "height": 20.0, @@ -29851,7 +26402,7 @@ "children": [ { "type": "frame", - "id": "n1724", + "id": "n1537", "name": "Number", "width": 44.0, "height": 20.0, @@ -29863,7 +26414,7 @@ "children": [ { "type": "text", - "id": "n1725", + "id": "n1538", "name": "42", "width": "fit_content", "height": "fit_content", @@ -29884,7 +26435,7 @@ }, { "type": "frame", - "id": "n1726", + "id": "n1539", "name": "Margin", "width": 57.32, "height": 20.0, @@ -29892,7 +26443,7 @@ }, { "type": "text", - "id": "n1727", + "id": "n1540", "name": "return () => clearTimeout(timer.current)", "width": "fit_content", "height": "fit_content", @@ -29962,7 +26513,7 @@ }, { "type": "frame", - "id": "n1728", + "id": "n1541", "name": "Line 43", "width": "fill_container", "height": 20.0, @@ -29973,7 +26524,7 @@ "children": [ { "type": "frame", - "id": "n1729", + "id": "n1542", "name": "Number", "width": 44.0, "height": 20.0, @@ -29985,7 +26536,7 @@ "children": [ { "type": "text", - "id": "n1730", + "id": "n1543", "name": "43", "width": "fit_content", "height": "fit_content", @@ -30006,7 +26557,7 @@ }, { "type": "frame", - "id": "n1731", + "id": "n1544", "name": "Margin", "width": 41.66, "height": 20.0, @@ -30014,7 +26565,7 @@ }, { "type": "text", - "id": "n1732", + "id": "n1545", "name": "}, [open])", "width": "fit_content", "height": "fit_content", @@ -30062,7 +26613,7 @@ }, { "type": "rectangle", - "id": "n1733", + "id": "n1546", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -30076,7 +26627,7 @@ }, { "type": "frame", - "id": "n1734", + "id": "n1547", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -30092,7 +26643,7 @@ "children": [ { "type": "frame", - "id": "n1735", + "id": "n1548", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -30103,7 +26654,7 @@ "children": [ { "type": "frame", - "id": "n1736", + "id": "n1549", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -30114,7 +26665,7 @@ "children": [ { "type": "rectangle", - "id": "n1737", + "id": "n1550", "name": "Line", "width": 1.0, "height": "fill_container", @@ -30130,7 +26681,7 @@ }, { "type": "frame", - "id": "n1738", + "id": "n1551", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -30146,7 +26697,7 @@ "children": [ { "type": "frame", - "id": "n1739", + "id": "n1552", "name": "钩子 / useEffect · open 变化时", "width": "fill_container", "height": "fit_content", @@ -30179,7 +26730,7 @@ "children": [ { "type": "frame", - "id": "n1740", + "id": "n1553", "name": "Fold", "width": 14.0, "height": 20.0, @@ -30191,7 +26742,7 @@ "children": [ { "type": "icon_font", - "id": "n1741", + "id": "n1554", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -30207,7 +26758,7 @@ }, { "type": "frame", - "id": "n1742", + "id": "n1555", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -30218,7 +26769,7 @@ "children": [ { "type": "frame", - "id": "n1743", + "id": "n1556", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -30230,7 +26781,7 @@ "children": [ { "type": "icon_font", - "id": "n1744", + "id": "n1557", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -30246,7 +26797,7 @@ }, { "type": "frame", - "id": "n1745", + "id": "n1558", "name": "Concept / 副作用", "width": 20.0, "height": 20.0, @@ -30258,7 +26809,7 @@ "children": [ { "type": "icon_font", - "id": "n1746", + "id": "n1559", "name": "zap", "iconFontName": "zap", "width": 16.0, @@ -30276,7 +26827,7 @@ }, { "type": "frame", - "id": "n1747", + "id": "n1560", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -30286,7 +26837,7 @@ "children": [ { "type": "frame", - "id": "n1748", + "id": "n1561", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -30297,9 +26848,9 @@ "children": [ { "type": "frame", - "id": "n1749", + "id": "n1562", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -30308,7 +26859,7 @@ "children": [ { "type": "text", - "id": "n1750", + "id": "n1563", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -30329,7 +26880,7 @@ }, { "type": "text", - "id": "n1751", + "id": "n1564", "name": "useEffect", "width": "fit_content", "height": "fit_content", @@ -30356,7 +26907,7 @@ }, { "type": "frame", - "id": "n1752", + "id": "n1565", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -30367,9 +26918,9 @@ "children": [ { "type": "frame", - "id": "n1753", + "id": "n1566", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -30378,7 +26929,7 @@ "children": [ { "type": "icon_font", - "id": "n1754", + "id": "n1567", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -30392,7 +26943,7 @@ }, { "type": "text", - "id": "n1755", + "id": "n1568", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -30413,7 +26964,7 @@ }, { "type": "text", - "id": "n1756", + "id": "n1569", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -30434,7 +26985,7 @@ }, { "type": "frame", - "id": "n1757", + "id": "n1570", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -30450,7 +27001,7 @@ "children": [ { "type": "frame", - "id": "n1758", + "id": "n1571", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -30470,7 +27021,7 @@ "children": [ { "type": "frame", - "id": "n1759", + "id": "n1572", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -30487,7 +27038,7 @@ "children": [ { "type": "frame", - "id": "n1760", + "id": "n1573", "name": "参数", "width": 66.0, "height": "fit_content", @@ -30501,7 +27052,7 @@ "children": [ { "type": "text", - "id": "n1761", + "id": "n1574", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -30522,7 +27073,7 @@ }, { "type": "rectangle", - "id": "n1762", + "id": "n1575", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -30536,7 +27087,7 @@ }, { "type": "frame", - "id": "n1763", + "id": "n1576", "name": "值", "width": 517.0, "height": "fit_content", @@ -30550,7 +27101,7 @@ "children": [ { "type": "text", - "id": "n1764", + "id": "n1577", "name": "值", "width": "fit_content", "height": "fit_content", @@ -30573,7 +27124,7 @@ }, { "type": "rectangle", - "id": "n1765", + "id": "n1578", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -30587,7 +27138,7 @@ }, { "type": "frame", - "id": "n1766", + "id": "n1579", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -30598,7 +27149,7 @@ "children": [ { "type": "frame", - "id": "n1767", + "id": "n1580", "name": "参数", "width": 66.0, "height": "fit_content", @@ -30612,7 +27163,7 @@ "children": [ { "type": "text", - "id": "n1768", + "id": "n1581", "name": "effect", "width": "fit_content", "height": "fit_content", @@ -30633,7 +27184,7 @@ }, { "type": "rectangle", - "id": "n1769", + "id": "n1582", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -30647,7 +27198,7 @@ }, { "type": "frame", - "id": "n1770", + "id": "n1583", "name": "值", "width": 517.0, "height": "fit_content", @@ -30661,7 +27212,7 @@ "children": [ { "type": "frame", - "id": "n1771", + "id": "n1584", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -30694,7 +27245,7 @@ "children": [ { "type": "icon_font", - "id": "n1772", + "id": "n1585", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -30708,7 +27259,7 @@ }, { "type": "text", - "id": "n1773", + "id": "n1586", "name": "函数 · 2 句", "width": "fit_content", "height": "fit_content", @@ -30742,7 +27293,7 @@ }, { "type": "rectangle", - "id": "n1774", + "id": "n1587", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -30756,7 +27307,7 @@ }, { "type": "frame", - "id": "n1775", + "id": "n1588", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -30767,7 +27318,7 @@ "children": [ { "type": "frame", - "id": "n1776", + "id": "n1589", "name": "参数", "width": 66.0, "height": "fit_content", @@ -30781,7 +27332,7 @@ "children": [ { "type": "text", - "id": "n1777", + "id": "n1590", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -30802,7 +27353,7 @@ }, { "type": "rectangle", - "id": "n1778", + "id": "n1591", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -30816,7 +27367,7 @@ }, { "type": "frame", - "id": "n1779", + "id": "n1592", "name": "值", "width": 517.0, "height": "fit_content", @@ -30830,7 +27381,7 @@ "children": [ { "type": "text", - "id": "n1780", + "id": "n1593", "name": "open 变化时", "width": "fit_content", "height": "fit_content", @@ -30863,612 +27414,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1781", - "name": "Prop / 改动", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1782", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1783", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1784", - "name": "改动", - "width": "fit_content", - "height": "fit_content", - "content": "改动", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1785", - "name": "2 个", - "width": "fit_content", - "height": "fit_content", - "content": "2 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1786", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1787", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1788", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1789", - "name": "改了", - "width": 92.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1790", - "name": "改了", - "width": "fit_content", - "height": "fit_content", - "content": "改了", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1791", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1792", - "name": "写法", - "width": 491.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1793", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1794", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1795", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1796", - "name": "改了", - "width": 92.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1797", - "name": "状态 open", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "状态 ", - "fill": "#cccccc" - }, - { - "text": "open", - "fill": "#9cdcfe" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1798", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1799", - "name": "写法", - "width": 491.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1800", - "name": "setOpen(假)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "setOpen", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "假", - "fill": "#b5cea8" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1801", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1802", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1803", - "name": "改了", - "width": 92.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1804", - "name": "引用 timer", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "引用 ", - "fill": "#cccccc" - }, - { - "text": "timer", - "fill": "#9cdcfe" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1805", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1806", - "name": "写法", - "width": 491.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1807", - "name": "timer.current = window.setTimeout(…)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "timer", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "current", - "fill": "#9cdcfe" - }, - { - "text": " = ", - "fill": "#cccccc" - }, - { - "text": "window", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "setTimeout", - "fill": "#dcdcaa" - }, - { - "text": "(…)", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1808", - "name": "Prop / 清理函数", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1809", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1810", - "name": "清理函数", - "width": "fit_content", - "height": "fit_content", - "content": "清理函数", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1811", - "name": "clearTimeout(timer.current)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "clearTimeout", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "timer", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "current", - "fill": "#9cdcfe" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1812", + "id": "n1594", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -31479,7 +27430,7 @@ "children": [ { "type": "frame", - "id": "n1813", + "id": "n1595", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -31492,7 +27443,7 @@ "children": [ { "type": "icon_font", - "id": "n1814", + "id": "n1596", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -31508,7 +27459,7 @@ }, { "type": "frame", - "id": "n1815", + "id": "n1597", "name": "pencil", "width": 22.0, "height": 20.0, @@ -31521,7 +27472,7 @@ "children": [ { "type": "icon_font", - "id": "n1816", + "id": "n1598", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -31549,7 +27500,7 @@ }, { "type": "frame", - "id": "n1817", + "id": "n1599", "name": "Lines 44–46", "width": "fill_container", "height": "fit_content", @@ -31560,7 +27511,7 @@ "children": [ { "type": "frame", - "id": "n1818", + "id": "n1600", "name": "Code", "width": 600.0, "height": "fill_container", @@ -31576,7 +27527,7 @@ "children": [ { "type": "frame", - "id": "n1819", + "id": "n1601", "name": "Line 44", "width": "fill_container", "height": 20.0, @@ -31587,7 +27538,7 @@ "children": [ { "type": "frame", - "id": "n1820", + "id": "n1602", "name": "Number", "width": 44.0, "height": 20.0, @@ -31599,7 +27550,7 @@ "children": [ { "type": "text", - "id": "n1821", + "id": "n1603", "name": "44", "width": "fit_content", "height": "fit_content", @@ -31620,7 +27571,7 @@ }, { "type": "frame", - "id": "n1822", + "id": "n1604", "name": "Margin", "width": 41.66, "height": 20.0, @@ -31628,7 +27579,7 @@ }, { "type": "text", - "id": "n1823", + "id": "n1605", "name": "useEffect(() => {", "width": "fit_content", "height": "fit_content", @@ -31678,7 +27629,7 @@ }, { "type": "frame", - "id": "n1824", + "id": "n1606", "name": "Line 45", "width": "fill_container", "height": 20.0, @@ -31689,7 +27640,7 @@ "children": [ { "type": "frame", - "id": "n1825", + "id": "n1607", "name": "Number", "width": 44.0, "height": 20.0, @@ -31701,7 +27652,7 @@ "children": [ { "type": "text", - "id": "n1826", + "id": "n1608", "name": "45", "width": "fit_content", "height": "fit_content", @@ -31722,7 +27673,7 @@ }, { "type": "frame", - "id": "n1827", + "id": "n1609", "name": "Margin", "width": 57.32, "height": 20.0, @@ -31730,7 +27681,7 @@ }, { "type": "text", - "id": "n1828", + "id": "n1610", "name": "document.title = String(total)", "width": "fit_content", "height": "fit_content", @@ -31784,7 +27735,7 @@ }, { "type": "frame", - "id": "n1829", + "id": "n1611", "name": "Line 46", "width": "fill_container", "height": 20.0, @@ -31795,7 +27746,7 @@ "children": [ { "type": "frame", - "id": "n1830", + "id": "n1612", "name": "Number", "width": 44.0, "height": 20.0, @@ -31807,7 +27758,7 @@ "children": [ { "type": "text", - "id": "n1831", + "id": "n1613", "name": "46", "width": "fit_content", "height": "fit_content", @@ -31828,7 +27779,7 @@ }, { "type": "frame", - "id": "n1832", + "id": "n1614", "name": "Margin", "width": 41.66, "height": 20.0, @@ -31836,7 +27787,7 @@ }, { "type": "text", - "id": "n1833", + "id": "n1615", "name": "})", "width": "fit_content", "height": "fit_content", @@ -31868,7 +27819,7 @@ }, { "type": "rectangle", - "id": "n1834", + "id": "n1616", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -31882,7 +27833,7 @@ }, { "type": "frame", - "id": "n1835", + "id": "n1617", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -31898,7 +27849,7 @@ "children": [ { "type": "frame", - "id": "n1836", + "id": "n1618", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -31909,7 +27860,7 @@ "children": [ { "type": "frame", - "id": "n1837", + "id": "n1619", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -31920,7 +27871,7 @@ "children": [ { "type": "rectangle", - "id": "n1838", + "id": "n1620", "name": "Line", "width": 1.0, "height": "fill_container", @@ -31936,7 +27887,7 @@ }, { "type": "frame", - "id": "n1839", + "id": "n1621", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -31952,7 +27903,7 @@ "children": [ { "type": "frame", - "id": "n1840", + "id": "n1622", "name": "钩子 / useEffect · 每次渲染后", "width": "fill_container", "height": "fit_content", @@ -31985,7 +27936,7 @@ "children": [ { "type": "frame", - "id": "n1841", + "id": "n1623", "name": "Fold", "width": 14.0, "height": 20.0, @@ -31997,7 +27948,7 @@ "children": [ { "type": "icon_font", - "id": "n1842", + "id": "n1624", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -32013,7 +27964,7 @@ }, { "type": "frame", - "id": "n1843", + "id": "n1625", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -32024,7 +27975,7 @@ "children": [ { "type": "frame", - "id": "n1844", + "id": "n1626", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -32036,7 +27987,7 @@ "children": [ { "type": "icon_font", - "id": "n1845", + "id": "n1627", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -32052,7 +28003,7 @@ }, { "type": "frame", - "id": "n1846", + "id": "n1628", "name": "Concept / 副作用", "width": 20.0, "height": 20.0, @@ -32064,7 +28015,7 @@ "children": [ { "type": "icon_font", - "id": "n1847", + "id": "n1629", "name": "zap", "iconFontName": "zap", "width": 16.0, @@ -32082,7 +28033,7 @@ }, { "type": "frame", - "id": "n1848", + "id": "n1630", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -32092,7 +28043,7 @@ "children": [ { "type": "frame", - "id": "n1849", + "id": "n1631", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -32103,9 +28054,9 @@ "children": [ { "type": "frame", - "id": "n1850", + "id": "n1632", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -32114,7 +28065,7 @@ "children": [ { "type": "text", - "id": "n1851", + "id": "n1633", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -32135,7 +28086,7 @@ }, { "type": "text", - "id": "n1852", + "id": "n1634", "name": "useEffect", "width": "fit_content", "height": "fit_content", @@ -32162,7 +28113,7 @@ }, { "type": "frame", - "id": "n1853", + "id": "n1635", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -32173,9 +28124,9 @@ "children": [ { "type": "frame", - "id": "n1854", + "id": "n1636", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -32184,7 +28135,7 @@ "children": [ { "type": "icon_font", - "id": "n1855", + "id": "n1637", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -32198,7 +28149,7 @@ }, { "type": "text", - "id": "n1856", + "id": "n1638", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -32219,7 +28170,7 @@ }, { "type": "text", - "id": "n1857", + "id": "n1639", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -32240,7 +28191,7 @@ }, { "type": "frame", - "id": "n1858", + "id": "n1640", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -32256,7 +28207,7 @@ "children": [ { "type": "frame", - "id": "n1859", + "id": "n1641", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -32276,7 +28227,7 @@ "children": [ { "type": "frame", - "id": "n1860", + "id": "n1642", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -32293,7 +28244,7 @@ "children": [ { "type": "frame", - "id": "n1861", + "id": "n1643", "name": "参数", "width": 66.0, "height": "fit_content", @@ -32307,7 +28258,7 @@ "children": [ { "type": "text", - "id": "n1862", + "id": "n1644", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -32328,7 +28279,7 @@ }, { "type": "rectangle", - "id": "n1863", + "id": "n1645", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -32342,7 +28293,7 @@ }, { "type": "frame", - "id": "n1864", + "id": "n1646", "name": "值", "width": 517.0, "height": "fit_content", @@ -32356,7 +28307,7 @@ "children": [ { "type": "text", - "id": "n1865", + "id": "n1647", "name": "值", "width": "fit_content", "height": "fit_content", @@ -32379,7 +28330,7 @@ }, { "type": "rectangle", - "id": "n1866", + "id": "n1648", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -32393,7 +28344,7 @@ }, { "type": "frame", - "id": "n1867", + "id": "n1649", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -32404,7 +28355,7 @@ "children": [ { "type": "frame", - "id": "n1868", + "id": "n1650", "name": "参数", "width": 66.0, "height": "fit_content", @@ -32418,7 +28369,7 @@ "children": [ { "type": "text", - "id": "n1869", + "id": "n1651", "name": "effect", "width": "fit_content", "height": "fit_content", @@ -32439,7 +28390,7 @@ }, { "type": "rectangle", - "id": "n1870", + "id": "n1652", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -32453,7 +28404,7 @@ }, { "type": "frame", - "id": "n1871", + "id": "n1653", "name": "值", "width": 517.0, "height": "fit_content", @@ -32467,7 +28418,7 @@ "children": [ { "type": "frame", - "id": "n1872", + "id": "n1654", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -32500,7 +28451,7 @@ "children": [ { "type": "icon_font", - "id": "n1873", + "id": "n1655", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -32514,7 +28465,7 @@ }, { "type": "text", - "id": "n1874", + "id": "n1656", "name": "函数 · 1 句", "width": "fit_content", "height": "fit_content", @@ -32548,7 +28499,7 @@ }, { "type": "rectangle", - "id": "n1875", + "id": "n1657", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -32562,7 +28513,7 @@ }, { "type": "frame", - "id": "n1876", + "id": "n1658", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -32573,7 +28524,7 @@ "children": [ { "type": "frame", - "id": "n1877", + "id": "n1659", "name": "参数", "width": 66.0, "height": "fit_content", @@ -32587,7 +28538,7 @@ "children": [ { "type": "text", - "id": "n1878", + "id": "n1660", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -32608,7 +28559,7 @@ }, { "type": "rectangle", - "id": "n1879", + "id": "n1661", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -32622,7 +28573,7 @@ }, { "type": "frame", - "id": "n1880", + "id": "n1662", "name": "值", "width": 517.0, "height": "fit_content", @@ -32636,7 +28587,7 @@ "children": [ { "type": "text", - "id": "n1881", + "id": "n1663", "name": "没写,每次渲染后", "width": "fit_content", "height": "fit_content", @@ -32669,374 +28620,12 @@ ] } ] - }, - { - "type": "frame", - "id": "n1882", - "name": "Prop / 改动", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 12.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1883", - "name": "Key", - "width": 100.0, - "height": 20.0, - "layout": "horizontal", - "gap": 4.0, - "alignItems": "center", - "clipContent": false, - "children": [ - { - "type": "icon_font", - "id": "n1884", - "name": "chevron-down", - "iconFontName": "chevron-down", - "width": 14.0, - "height": 14.0, - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - }, - { - "type": "text", - "id": "n1885", - "name": "改动", - "width": "fit_content", - "height": "fit_content", - "content": "改动", - "fontFamily": "PingFang SC", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "text", - "id": "n1886", - "name": "1 个", - "width": "fit_content", - "height": "fit_content", - "content": "1 个", - "fontFamily": "PingFang SC", - "fontSize": 13.0, - "fontWeight": 400, - "lineHeight": 1.5384615384615383, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "frame", - "id": "n1887", - "name": "Table wrap", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "padding": [ - 2.0, - 0.0, - 2.0, - 5.0 - ], - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1888", - "name": "Table", - "width": "fill_container", - "height": "fit_content", - "layout": "vertical", - "gap": 0.0, - "clipContent": true, - "cornerRadius": 4.0, - "stroke": { - "thickness": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ] - }, - "children": [ - { - "type": "frame", - "id": "n1889", - "name": "Header", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "fill": [ - { - "type": "solid", - "color": "#2f3738" - } - ], - "children": [ - { - "type": "frame", - "id": "n1890", - "name": "改了", - "width": 130.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1891", - "name": "改了", - "width": "fit_content", - "height": "fit_content", - "content": "改了", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1892", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1893", - "name": "写法", - "width": 453.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1894", - "name": "写法", - "width": "fit_content", - "height": "fit_content", - "content": "写法", - "fontFamily": "PingFang SC", - "fontSize": 12.0, - "fontWeight": 400, - "lineHeight": 1.6666666666666667, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#9d9d9d" - } - ] - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1895", - "name": "Divider", - "width": "fill_container", - "height": 1.0, - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1896", - "name": "Row", - "width": "fill_container", - "height": "fit_content", - "layout": "horizontal", - "gap": 0.0, - "alignItems": "start", - "clipContent": false, - "children": [ - { - "type": "frame", - "id": "n1897", - "name": "改了", - "width": 130.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1898", - "name": "document.title", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "document", - "fill": "#9cdcfe" - }, - { - "text": ".", - "fill": "#cccccc" - }, - { - "text": "title", - "fill": "#9cdcfe" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - }, - { - "type": "rectangle", - "id": "n1899", - "name": "Sep", - "width": 1.0, - "height": "fill_container", - "fill": [ - { - "type": "solid", - "color": "#3c3c3c" - } - ], - "children": [] - }, - { - "type": "frame", - "id": "n1900", - "name": "写法", - "width": 453.0, - "height": "fit_content", - "layout": "vertical", - "gap": 3.0, - "padding": [ - 2.0, - 8.0 - ], - "clipContent": false, - "children": [ - { - "type": "text", - "id": "n1901", - "name": "String(total)", - "width": "fit_content", - "height": "fit_content", - "content": [ - { - "text": "String", - "fill": "#dcdcaa" - }, - { - "text": "(", - "fill": "#cccccc" - }, - { - "text": "total", - "fill": "#9cdcfe" - }, - { - "text": ")", - "fill": "#cccccc" - } - ], - "fontFamily": "Menlo", - "fontSize": 12.5, - "fontWeight": 400, - "lineHeight": 1.6, - "textGrowth": "auto", - "fill": [ - { - "type": "solid", - "color": "#cccccc" - } - ] - } - ] - } - ] - } - ] - } - ] } ] }, { "type": "frame", - "id": "n1902", + "id": "n1664", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -33047,7 +28636,7 @@ "children": [ { "type": "frame", - "id": "n1903", + "id": "n1665", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -33060,7 +28649,7 @@ "children": [ { "type": "icon_font", - "id": "n1904", + "id": "n1666", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -33076,7 +28665,7 @@ }, { "type": "frame", - "id": "n1905", + "id": "n1667", "name": "pencil", "width": 22.0, "height": 20.0, @@ -33089,7 +28678,7 @@ "children": [ { "type": "icon_font", - "id": "n1906", + "id": "n1668", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -33117,7 +28706,7 @@ }, { "type": "frame", - "id": "n1907", + "id": "n1669", "name": "Lines 47–49", "width": "fill_container", "height": "fit_content", @@ -33128,7 +28717,7 @@ "children": [ { "type": "frame", - "id": "n1908", + "id": "n1670", "name": "Code", "width": 600.0, "height": "fill_container", @@ -33144,7 +28733,7 @@ "children": [ { "type": "frame", - "id": "n1909", + "id": "n1671", "name": "Line 47", "width": "fill_container", "height": 20.0, @@ -33155,7 +28744,7 @@ "children": [ { "type": "frame", - "id": "n1910", + "id": "n1672", "name": "Number", "width": 44.0, "height": 20.0, @@ -33167,7 +28756,7 @@ "children": [ { "type": "text", - "id": "n1911", + "id": "n1673", "name": "47", "width": "fit_content", "height": "fit_content", @@ -33188,7 +28777,7 @@ }, { "type": "frame", - "id": "n1912", + "id": "n1674", "name": "Margin", "width": 41.66, "height": 20.0, @@ -33196,7 +28785,7 @@ }, { "type": "text", - "id": "n1913", + "id": "n1675", "name": "useLayoutEffect(() => {", "width": "fit_content", "height": "fit_content", @@ -33246,7 +28835,7 @@ }, { "type": "frame", - "id": "n1914", + "id": "n1676", "name": "Line 48", "width": "fill_container", "height": 20.0, @@ -33257,7 +28846,7 @@ "children": [ { "type": "frame", - "id": "n1915", + "id": "n1677", "name": "Number", "width": 44.0, "height": 20.0, @@ -33269,7 +28858,7 @@ "children": [ { "type": "text", - "id": "n1916", + "id": "n1678", "name": "48", "width": "fit_content", "height": "fit_content", @@ -33290,7 +28879,7 @@ }, { "type": "frame", - "id": "n1917", + "id": "n1679", "name": "Margin", "width": 57.32, "height": 20.0, @@ -33298,7 +28887,7 @@ }, { "type": "text", - "id": "n1918", + "id": "n1680", "name": "boxRef.current?.scrollTo(0, 0)", "width": "fit_content", "height": "fit_content", @@ -33360,7 +28949,7 @@ }, { "type": "frame", - "id": "n1919", + "id": "n1681", "name": "Line 49", "width": "fill_container", "height": 20.0, @@ -33371,7 +28960,7 @@ "children": [ { "type": "frame", - "id": "n1920", + "id": "n1682", "name": "Number", "width": 44.0, "height": 20.0, @@ -33383,7 +28972,7 @@ "children": [ { "type": "text", - "id": "n1921", + "id": "n1683", "name": "49", "width": "fit_content", "height": "fit_content", @@ -33404,7 +28993,7 @@ }, { "type": "frame", - "id": "n1922", + "id": "n1684", "name": "Margin", "width": 41.66, "height": 20.0, @@ -33412,7 +29001,7 @@ }, { "type": "text", - "id": "n1923", + "id": "n1685", "name": "}, [])", "width": "fit_content", "height": "fit_content", @@ -33452,7 +29041,7 @@ }, { "type": "rectangle", - "id": "n1924", + "id": "n1686", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -33466,7 +29055,7 @@ }, { "type": "frame", - "id": "n1925", + "id": "n1687", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -33482,7 +29071,7 @@ "children": [ { "type": "frame", - "id": "n1926", + "id": "n1688", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -33493,7 +29082,7 @@ "children": [ { "type": "frame", - "id": "n1927", + "id": "n1689", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -33504,7 +29093,7 @@ "children": [ { "type": "rectangle", - "id": "n1928", + "id": "n1690", "name": "Line", "width": 1.0, "height": "fill_container", @@ -33520,7 +29109,7 @@ }, { "type": "frame", - "id": "n1929", + "id": "n1691", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -33536,7 +29125,7 @@ "children": [ { "type": "frame", - "id": "n1930", + "id": "n1692", "name": "钩子 / useLayoutEffect · 仅挂载时", "width": "fill_container", "height": "fit_content", @@ -33569,7 +29158,7 @@ "children": [ { "type": "frame", - "id": "n1931", + "id": "n1693", "name": "Fold", "width": 14.0, "height": 20.0, @@ -33581,7 +29170,7 @@ "children": [ { "type": "icon_font", - "id": "n1932", + "id": "n1694", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -33597,7 +29186,7 @@ }, { "type": "frame", - "id": "n1933", + "id": "n1695", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -33608,7 +29197,7 @@ "children": [ { "type": "frame", - "id": "n1934", + "id": "n1696", "name": "Concept / 钩子", "width": 20.0, "height": 20.0, @@ -33620,7 +29209,7 @@ "children": [ { "type": "icon_font", - "id": "n1935", + "id": "n1697", "name": "fishing-hook", "iconFontName": "fishing-hook", "width": 16.0, @@ -33636,7 +29225,7 @@ }, { "type": "frame", - "id": "n1936", + "id": "n1698", "name": "Concept / 副作用 · 浏览器绘制前执行", "width": 20.0, "height": 20.0, @@ -33648,7 +29237,7 @@ "children": [ { "type": "icon_font", - "id": "n1937", + "id": "n1699", "name": "zap", "iconFontName": "zap", "width": 16.0, @@ -33666,7 +29255,7 @@ }, { "type": "frame", - "id": "n1938", + "id": "n1700", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -33676,7 +29265,7 @@ "children": [ { "type": "frame", - "id": "n1939", + "id": "n1701", "name": "Prop / 钩子", "width": "fill_container", "height": "fit_content", @@ -33687,9 +29276,9 @@ "children": [ { "type": "frame", - "id": "n1940", + "id": "n1702", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 0.0, @@ -33698,7 +29287,7 @@ "children": [ { "type": "text", - "id": "n1941", + "id": "n1703", "name": "钩子", "width": "fit_content", "height": "fit_content", @@ -33719,7 +29308,7 @@ }, { "type": "text", - "id": "n1942", + "id": "n1704", "name": "useLayoutEffect", "width": "fit_content", "height": "fit_content", @@ -33746,7 +29335,7 @@ }, { "type": "frame", - "id": "n1943", + "id": "n1705", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -33757,9 +29346,9 @@ "children": [ { "type": "frame", - "id": "n1944", + "id": "n1706", "name": "Key", - "width": 100.0, + "width": 76.0, "height": 20.0, "layout": "horizontal", "gap": 4.0, @@ -33768,7 +29357,7 @@ "children": [ { "type": "icon_font", - "id": "n1945", + "id": "n1707", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -33782,7 +29371,7 @@ }, { "type": "text", - "id": "n1946", + "id": "n1708", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -33803,7 +29392,7 @@ }, { "type": "text", - "id": "n1947", + "id": "n1709", "name": "2 个", "width": "fit_content", "height": "fit_content", @@ -33824,7 +29413,7 @@ }, { "type": "frame", - "id": "n1948", + "id": "n1710", "name": "Table wrap", "width": "fill_container", "height": "fit_content", @@ -33840,7 +29429,7 @@ "children": [ { "type": "frame", - "id": "n1949", + "id": "n1711", "name": "Table", "width": "fill_container", "height": "fit_content", @@ -33860,7 +29449,7 @@ "children": [ { "type": "frame", - "id": "n1950", + "id": "n1712", "name": "Header", "width": "fill_container", "height": "fit_content", @@ -33877,7 +29466,7 @@ "children": [ { "type": "frame", - "id": "n1951", + "id": "n1713", "name": "参数", "width": 66.0, "height": "fit_content", @@ -33891,7 +29480,7 @@ "children": [ { "type": "text", - "id": "n1952", + "id": "n1714", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -33912,7 +29501,7 @@ }, { "type": "rectangle", - "id": "n1953", + "id": "n1715", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -33926,7 +29515,7 @@ }, { "type": "frame", - "id": "n1954", + "id": "n1716", "name": "值", "width": 517.0, "height": "fit_content", @@ -33940,7 +29529,7 @@ "children": [ { "type": "text", - "id": "n1955", + "id": "n1717", "name": "值", "width": "fit_content", "height": "fit_content", @@ -33963,7 +29552,7 @@ }, { "type": "rectangle", - "id": "n1956", + "id": "n1718", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -33977,7 +29566,7 @@ }, { "type": "frame", - "id": "n1957", + "id": "n1719", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -33988,7 +29577,7 @@ "children": [ { "type": "frame", - "id": "n1958", + "id": "n1720", "name": "参数", "width": 66.0, "height": "fit_content", @@ -34002,7 +29591,7 @@ "children": [ { "type": "text", - "id": "n1959", + "id": "n1721", "name": "effect", "width": "fit_content", "height": "fit_content", @@ -34023,7 +29612,7 @@ }, { "type": "rectangle", - "id": "n1960", + "id": "n1722", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -34037,7 +29626,7 @@ }, { "type": "frame", - "id": "n1961", + "id": "n1723", "name": "值", "width": 517.0, "height": "fit_content", @@ -34051,7 +29640,7 @@ "children": [ { "type": "frame", - "id": "n1962", + "id": "n1724", "name": "Fold box", "width": "fit_content", "height": 20.0, @@ -34084,7 +29673,7 @@ "children": [ { "type": "icon_font", - "id": "n1963", + "id": "n1725", "name": "chevron-right", "iconFontName": "chevron-right", "width": 13.0, @@ -34098,7 +29687,7 @@ }, { "type": "text", - "id": "n1964", + "id": "n1726", "name": "函数 · 1 句", "width": "fit_content", "height": "fit_content", @@ -34132,7 +29721,7 @@ }, { "type": "rectangle", - "id": "n1965", + "id": "n1727", "name": "Divider", "width": "fill_container", "height": 1.0, @@ -34146,7 +29735,7 @@ }, { "type": "frame", - "id": "n1966", + "id": "n1728", "name": "Row", "width": "fill_container", "height": "fit_content", @@ -34157,7 +29746,7 @@ "children": [ { "type": "frame", - "id": "n1967", + "id": "n1729", "name": "参数", "width": 66.0, "height": "fit_content", @@ -34171,7 +29760,7 @@ "children": [ { "type": "text", - "id": "n1968", + "id": "n1730", "name": "deps", "width": "fit_content", "height": "fit_content", @@ -34192,7 +29781,7 @@ }, { "type": "rectangle", - "id": "n1969", + "id": "n1731", "name": "Sep", "width": 1.0, "height": "fill_container", @@ -34206,7 +29795,7 @@ }, { "type": "frame", - "id": "n1970", + "id": "n1732", "name": "值", "width": 517.0, "height": "fit_content", @@ -34220,7 +29809,7 @@ "children": [ { "type": "text", - "id": "n1971", + "id": "n1733", "name": "仅挂载时", "width": "fit_content", "height": "fit_content", @@ -34249,7 +29838,7 @@ }, { "type": "frame", - "id": "n1972", + "id": "n1734", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -34260,7 +29849,7 @@ "children": [ { "type": "frame", - "id": "n1973", + "id": "n1735", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -34273,7 +29862,7 @@ "children": [ { "type": "icon_font", - "id": "n1974", + "id": "n1736", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -34289,7 +29878,7 @@ }, { "type": "frame", - "id": "n1975", + "id": "n1737", "name": "pencil", "width": 22.0, "height": 20.0, @@ -34302,7 +29891,7 @@ "children": [ { "type": "icon_font", - "id": "n1976", + "id": "n1738", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -34330,7 +29919,7 @@ }, { "type": "frame", - "id": "n1977", + "id": "n1739", "name": "Lines 50–52", "width": "fill_container", "height": "fit_content", @@ -34341,7 +29930,7 @@ "children": [ { "type": "frame", - "id": "n1978", + "id": "n1740", "name": "Code", "width": 600.0, "height": "fill_container", @@ -34357,7 +29946,7 @@ "children": [ { "type": "frame", - "id": "n1979", + "id": "n1741", "name": "Line 50", "width": "fill_container", "height": 20.0, @@ -34368,7 +29957,7 @@ "children": [ { "type": "frame", - "id": "n1980", + "id": "n1742", "name": "Number", "width": 44.0, "height": 20.0, @@ -34380,7 +29969,7 @@ "children": [ { "type": "text", - "id": "n1981", + "id": "n1743", "name": "50", "width": "fit_content", "height": "fit_content", @@ -34401,7 +29990,7 @@ }, { "type": "frame", - "id": "n1982", + "id": "n1744", "name": "Margin", "width": 41.66, "height": 20.0, @@ -34409,7 +29998,7 @@ }, { "type": "text", - "id": "n1983", + "id": "n1745", "name": "function handleClick() {", "width": "fit_content", "height": "fit_content", @@ -34455,7 +30044,7 @@ }, { "type": "frame", - "id": "n1984", + "id": "n1746", "name": "Line 51", "width": "fill_container", "height": 20.0, @@ -34466,7 +30055,7 @@ "children": [ { "type": "frame", - "id": "n1985", + "id": "n1747", "name": "Number", "width": 44.0, "height": 20.0, @@ -34478,7 +30067,7 @@ "children": [ { "type": "text", - "id": "n1986", + "id": "n1748", "name": "51", "width": "fit_content", "height": "fit_content", @@ -34499,7 +30088,7 @@ }, { "type": "frame", - "id": "n1987", + "id": "n1749", "name": "Margin", "width": 57.32, "height": 20.0, @@ -34507,7 +30096,7 @@ }, { "type": "text", - "id": "n1988", + "id": "n1750", "name": "startTransition(() => toggle(!open))", "width": "fit_content", "height": "fit_content", @@ -34577,7 +30166,7 @@ }, { "type": "frame", - "id": "n1989", + "id": "n1751", "name": "Line 52", "width": "fill_container", "height": 20.0, @@ -34588,7 +30177,7 @@ "children": [ { "type": "frame", - "id": "n1990", + "id": "n1752", "name": "Number", "width": 44.0, "height": 20.0, @@ -34600,7 +30189,7 @@ "children": [ { "type": "text", - "id": "n1991", + "id": "n1753", "name": "52", "width": "fit_content", "height": "fit_content", @@ -34621,7 +30210,7 @@ }, { "type": "frame", - "id": "n1992", + "id": "n1754", "name": "Margin", "width": 41.66, "height": 20.0, @@ -34629,7 +30218,7 @@ }, { "type": "text", - "id": "n1993", + "id": "n1755", "name": "}", "width": "fit_content", "height": "fit_content", @@ -34652,7 +30241,7 @@ }, { "type": "rectangle", - "id": "n1994", + "id": "n1756", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -34666,7 +30255,7 @@ }, { "type": "frame", - "id": "n1995", + "id": "n1757", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -34682,7 +30271,7 @@ "children": [ { "type": "frame", - "id": "n1996", + "id": "n1758", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -34693,7 +30282,7 @@ "children": [ { "type": "frame", - "id": "n1997", + "id": "n1759", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -34704,7 +30293,7 @@ "children": [ { "type": "rectangle", - "id": "n1998", + "id": "n1760", "name": "Line", "width": 1.0, "height": "fill_container", @@ -34720,7 +30309,7 @@ }, { "type": "frame", - "id": "n1999", + "id": "n1761", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -34736,7 +30325,7 @@ "children": [ { "type": "frame", - "id": "n2000", + "id": "n1762", "name": "事件处理函数 / handleClick", "width": "fill_container", "height": "fit_content", @@ -34769,7 +30358,7 @@ "children": [ { "type": "frame", - "id": "n2001", + "id": "n1763", "name": "Fold", "width": 14.0, "height": 20.0, @@ -34781,7 +30370,7 @@ "children": [ { "type": "icon_font", - "id": "n2002", + "id": "n1764", "name": "chevron-right", "iconFontName": "chevron-right", "width": 14.0, @@ -34797,7 +30386,7 @@ }, { "type": "frame", - "id": "n2003", + "id": "n1765", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -34808,7 +30397,7 @@ "children": [ { "type": "frame", - "id": "n2004", + "id": "n1766", "name": "Concept / 事件处理函数", "width": 20.0, "height": 20.0, @@ -34820,7 +30409,7 @@ "children": [ { "type": "icon_font", - "id": "n2005", + "id": "n1767", "name": "mouse-pointer-click", "iconFontName": "mouse-pointer-click", "width": 16.0, @@ -34838,7 +30427,7 @@ }, { "type": "frame", - "id": "n2006", + "id": "n1768", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -34848,7 +30437,7 @@ "children": [ { "type": "frame", - "id": "n2007", + "id": "n1769", "name": "Prop / 名称", "width": "fill_container", "height": "fit_content", @@ -34859,7 +30448,7 @@ "children": [ { "type": "frame", - "id": "n2008", + "id": "n1770", "name": "Key", "width": 76.0, "height": 20.0, @@ -34870,7 +30459,7 @@ "children": [ { "type": "text", - "id": "n2009", + "id": "n1771", "name": "名称", "width": "fit_content", "height": "fit_content", @@ -34891,7 +30480,7 @@ }, { "type": "frame", - "id": "n2010", + "id": "n1772", "name": "Value", "width": "fill_container", "height": 20.0, @@ -34902,7 +30491,7 @@ "children": [ { "type": "text", - "id": "n2011", + "id": "n1773", "name": "handleClick", "width": "fit_content", "height": "fit_content", @@ -34925,7 +30514,7 @@ }, { "type": "frame", - "id": "n2012", + "id": "n1774", "name": "Prop / 参数", "width": "fill_container", "height": "fit_content", @@ -34936,7 +30525,7 @@ "children": [ { "type": "frame", - "id": "n2013", + "id": "n1775", "name": "Key", "width": 76.0, "height": 20.0, @@ -34947,7 +30536,7 @@ "children": [ { "type": "text", - "id": "n2014", + "id": "n1776", "name": "参数", "width": "fit_content", "height": "fit_content", @@ -34968,7 +30557,7 @@ }, { "type": "text", - "id": "n2015", + "id": "n1777", "name": "无", "width": "fit_content", "height": "fit_content", @@ -34989,7 +30578,7 @@ }, { "type": "frame", - "id": "n2016", + "id": "n1778", "name": "Prop / 绑定事件", "width": "fill_container", "height": "fit_content", @@ -35000,7 +30589,7 @@ "children": [ { "type": "frame", - "id": "n2017", + "id": "n1779", "name": "Key", "width": 76.0, "height": 20.0, @@ -35011,7 +30600,7 @@ "children": [ { "type": "text", - "id": "n2018", + "id": "n1780", "name": "绑定事件", "width": "fit_content", "height": "fit_content", @@ -35032,7 +30621,7 @@ }, { "type": "text", - "id": "n2019", + "id": "n1781", "name": "
的 onClick", "width": "fit_content", "height": "fit_content", @@ -35062,7 +30651,7 @@ }, { "type": "frame", - "id": "n2020", + "id": "n1782", "name": "Prop / 调用", "width": "fill_container", "height": "fit_content", @@ -35073,7 +30662,7 @@ "children": [ { "type": "frame", - "id": "n2021", + "id": "n1783", "name": "Key", "width": 76.0, "height": 20.0, @@ -35084,7 +30673,7 @@ "children": [ { "type": "text", - "id": "n2022", + "id": "n1784", "name": "调用", "width": "fit_content", "height": "fit_content", @@ -35105,7 +30694,7 @@ }, { "type": "text", - "id": "n2023", + "id": "n1785", "name": "toggle(在过渡里)", "width": "fit_content", "height": "fit_content", @@ -35138,7 +30727,7 @@ }, { "type": "frame", - "id": "n2024", + "id": "n1786", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -35149,7 +30738,7 @@ "children": [ { "type": "frame", - "id": "n2025", + "id": "n1787", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -35162,7 +30751,7 @@ "children": [ { "type": "icon_font", - "id": "n2026", + "id": "n1788", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -35178,7 +30767,7 @@ }, { "type": "frame", - "id": "n2027", + "id": "n1789", "name": "pencil", "width": 22.0, "height": 20.0, @@ -35191,7 +30780,7 @@ "children": [ { "type": "icon_font", - "id": "n2028", + "id": "n1790", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -35219,7 +30808,7 @@ }, { "type": "frame", - "id": "n2029", + "id": "n1791", "name": "Lines 53–59", "width": "fill_container", "height": "fit_content", @@ -35230,7 +30819,7 @@ "children": [ { "type": "frame", - "id": "n2030", + "id": "n1792", "name": "Code", "width": 600.0, "height": "fill_container", @@ -35246,7 +30835,7 @@ "children": [ { "type": "frame", - "id": "n2031", + "id": "n1793", "name": "Line 53", "width": "fill_container", "height": 20.0, @@ -35257,7 +30846,7 @@ "children": [ { "type": "frame", - "id": "n2032", + "id": "n1794", "name": "Number", "width": 44.0, "height": 20.0, @@ -35269,7 +30858,7 @@ "children": [ { "type": "text", - "id": "n2033", + "id": "n1795", "name": "53", "width": "fit_content", "height": "fit_content", @@ -35290,7 +30879,7 @@ }, { "type": "frame", - "id": "n2034", + "id": "n1796", "name": "Margin", "width": 41.66, "height": 20.0, @@ -35298,7 +30887,7 @@ }, { "type": "text", - "id": "n2035", + "id": "n1797", "name": "return (", "width": "fit_content", "height": "fit_content", @@ -35332,7 +30921,7 @@ }, { "type": "frame", - "id": "n2036", + "id": "n1798", "name": "Line 54", "width": "fill_container", "height": 20.0, @@ -35343,7 +30932,7 @@ "children": [ { "type": "frame", - "id": "n2037", + "id": "n1799", "name": "Number", "width": 44.0, "height": 20.0, @@ -35355,7 +30944,7 @@ "children": [ { "type": "text", - "id": "n2038", + "id": "n1800", "name": "54", "width": "fit_content", "height": "fit_content", @@ -35376,7 +30965,7 @@ }, { "type": "frame", - "id": "n2039", + "id": "n1801", "name": "Margin", "width": 57.32, "height": 20.0, @@ -35384,7 +30973,7 @@ }, { "type": "text", - "id": "n2040", + "id": "n1802", "name": "
", "width": "fit_content", "height": "fit_content", @@ -35466,7 +31055,7 @@ }, { "type": "frame", - "id": "n2041", + "id": "n1803", "name": "Line 55", "width": "fill_container", "height": 20.0, @@ -35477,7 +31066,7 @@ "children": [ { "type": "frame", - "id": "n2042", + "id": "n1804", "name": "Number", "width": 44.0, "height": 20.0, @@ -35489,7 +31078,7 @@ "children": [ { "type": "text", - "id": "n2043", + "id": "n1805", "name": "55", "width": "fit_content", "height": "fit_content", @@ -35510,7 +31099,7 @@ }, { "type": "frame", - "id": "n2044", + "id": "n1806", "name": "Margin", "width": 72.98, "height": 20.0, @@ -35518,7 +31107,7 @@ }, { "type": "text", - "id": "n2045", + "id": "n1807", "name": "{isPending && }", "width": "fit_content", "height": "fit_content", @@ -35572,7 +31161,7 @@ }, { "type": "frame", - "id": "n2046", + "id": "n1808", "name": "Line 56", "width": "fill_container", "height": 20.0, @@ -35583,7 +31172,7 @@ "children": [ { "type": "frame", - "id": "n2047", + "id": "n1809", "name": "Number", "width": 44.0, "height": 20.0, @@ -35595,7 +31184,7 @@ "children": [ { "type": "text", - "id": "n2048", + "id": "n1810", "name": "56", "width": "fit_content", "height": "fit_content", @@ -35616,7 +31205,7 @@ }, { "type": "frame", - "id": "n2049", + "id": "n1811", "name": "Margin", "width": 72.98, "height": 20.0, @@ -35624,7 +31213,7 @@ }, { "type": "text", - "id": "n2050", + "id": "n1812", "name": "{messages.map(m => ", "width": "fit_content", "height": "fit_content", @@ -35942,7 +31531,7 @@ }, { "type": "frame", - "id": "n2061", + "id": "n1823", "name": "Line 59", "width": "fill_container", "height": 20.0, @@ -35953,7 +31542,7 @@ "children": [ { "type": "frame", - "id": "n2062", + "id": "n1824", "name": "Number", "width": 44.0, "height": 20.0, @@ -35965,7 +31554,7 @@ "children": [ { "type": "text", - "id": "n2063", + "id": "n1825", "name": "59", "width": "fit_content", "height": "fit_content", @@ -35986,7 +31575,7 @@ }, { "type": "frame", - "id": "n2064", + "id": "n1826", "name": "Margin", "width": 41.66, "height": 20.0, @@ -35994,7 +31583,7 @@ }, { "type": "text", - "id": "n2065", + "id": "n1827", "name": ")", "width": "fit_content", "height": "fit_content", @@ -36017,7 +31606,7 @@ }, { "type": "rectangle", - "id": "n2066", + "id": "n1828", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -36031,7 +31620,7 @@ }, { "type": "frame", - "id": "n2067", + "id": "n1829", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -36047,7 +31636,7 @@ "children": [ { "type": "frame", - "id": "n2068", + "id": "n1830", "name": "Level", "width": "fill_container", "height": "fit_content", @@ -36058,7 +31647,7 @@ "children": [ { "type": "frame", - "id": "n2069", + "id": "n1831", "name": "Guide", "width": 12.0, "height": "fill_container", @@ -36069,7 +31658,7 @@ "children": [ { "type": "rectangle", - "id": "n2070", + "id": "n1832", "name": "Line", "width": 1.0, "height": "fill_container", @@ -36085,7 +31674,7 @@ }, { "type": "frame", - "id": "n2071", + "id": "n1833", "name": "Cards", "width": "fill_container", "height": "fit_content", @@ -36101,7 +31690,7 @@ "children": [ { "type": "frame", - "id": "n2072", + "id": "n1834", "name": "渲染输出 / Panel", "width": "fill_container", "height": "fit_content", @@ -36134,7 +31723,7 @@ "children": [ { "type": "frame", - "id": "n2073", + "id": "n1835", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36147,7 +31736,7 @@ }, { "type": "frame", - "id": "n2074", + "id": "n1836", "name": "Concepts", "width": "fit_content", "height": 20.0, @@ -36158,7 +31747,7 @@ "children": [ { "type": "frame", - "id": "n2075", + "id": "n1837", "name": "Concept / 渲染输出", "width": 20.0, "height": 20.0, @@ -36170,7 +31759,7 @@ "children": [ { "type": "icon_font", - "id": "n2076", + "id": "n1838", "name": "layout-template", "iconFontName": "layout-template", "width": 16.0, @@ -36188,7 +31777,7 @@ }, { "type": "frame", - "id": "n2077", + "id": "n1839", "name": "Content", "width": "fill_container", "height": "fit_content", @@ -36198,7 +31787,7 @@ "children": [ { "type": "frame", - "id": "n2078", + "id": "n1840", "name": "Outline", "width": "fill_container", "height": "fit_content", @@ -36208,7 +31797,7 @@ "children": [ { "type": "frame", - "id": "n2079", + "id": "n1841", "name": "Item", "width": "fill_container", "height": "fit_content", @@ -36219,7 +31808,7 @@ "children": [ { "type": "frame", - "id": "n2080", + "id": "n1842", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36231,7 +31820,7 @@ "children": [ { "type": "icon_font", - "id": "n2081", + "id": "n1843", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -36247,7 +31836,7 @@ }, { "type": "frame", - "id": "n2082", + "id": "n1844", "name": "Line", "width": "fill_container", "height": 20.0, @@ -36258,7 +31847,7 @@ "children": [ { "type": "text", - "id": "n2083", + "id": "n1845", "name": "
", "width": "fit_content", "height": "fit_content", @@ -36277,7 +31866,7 @@ }, { "type": "text", - "id": "n2084", + "id": "n1846", "name": "ref=boxRef", "width": "fit_content", "height": "fit_content", @@ -36310,7 +31899,7 @@ }, { "type": "text", - "id": "n2085", + "id": "n1847", "name": "onClick=handleClick", "width": "fit_content", "height": "fit_content", @@ -36347,7 +31936,7 @@ }, { "type": "frame", - "id": "n2086", + "id": "n1848", "name": "Sub", "width": "fill_container", "height": "fit_content", @@ -36364,7 +31953,7 @@ "children": [ { "type": "rectangle", - "id": "n2087", + "id": "n1849", "name": "Guide", "width": 1.0, "height": "fill_container", @@ -36378,7 +31967,7 @@ }, { "type": "frame", - "id": "n2088", + "id": "n1850", "name": "Kids", "width": "fill_container", "height": "fit_content", @@ -36388,7 +31977,7 @@ "children": [ { "type": "frame", - "id": "n2089", + "id": "n1851", "name": "Outline", "width": "fill_container", "height": "fit_content", @@ -36398,7 +31987,7 @@ "children": [ { "type": "frame", - "id": "n2090", + "id": "n1852", "name": "Item", "width": "fill_container", "height": "fit_content", @@ -36409,7 +31998,7 @@ "children": [ { "type": "frame", - "id": "n2091", + "id": "n1853", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36422,7 +32011,7 @@ }, { "type": "frame", - "id": "n2092", + "id": "n1854", "name": "Line", "width": "fill_container", "height": 20.0, @@ -36433,7 +32022,7 @@ "children": [ { "type": "frame", - "id": "n2093", + "id": "n1855", "name": "Group", "width": "fit_content", "height": 20.0, @@ -36464,7 +32053,7 @@ "children": [ { "type": "text", - "id": "n2094", + "id": "n1856", "name": "当 isPending 时", "width": "fit_content", "height": "fit_content", @@ -36506,7 +32095,7 @@ }, { "type": "text", - "id": "n2095", + "id": "n1857", "name": "", "width": "fit_content", "height": "fit_content", @@ -36529,7 +32118,7 @@ }, { "type": "frame", - "id": "n2096", + "id": "n1858", "name": "Item", "width": "fill_container", "height": "fit_content", @@ -36540,7 +32129,7 @@ "children": [ { "type": "frame", - "id": "n2097", + "id": "n1859", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36552,7 +32141,7 @@ "children": [ { "type": "icon_font", - "id": "n2098", + "id": "n1860", "name": "chevron-down", "iconFontName": "chevron-down", "width": 14.0, @@ -36568,7 +32157,7 @@ }, { "type": "frame", - "id": "n2099", + "id": "n1861", "name": "Line", "width": "fill_container", "height": 20.0, @@ -36579,7 +32168,7 @@ "children": [ { "type": "frame", - "id": "n2100", + "id": "n1862", "name": "Group", "width": "fit_content", "height": 20.0, @@ -36610,7 +32199,7 @@ "children": [ { "type": "text", - "id": "n2101", + "id": "n1863", "name": "对 messages 的每一项 m", "width": "fit_content", "height": "fit_content", @@ -36660,7 +32249,7 @@ }, { "type": "text", - "id": "n2102", + "id": "n1864", "name": "key m.id", "width": "fit_content", "height": "fit_content", @@ -36700,7 +32289,7 @@ }, { "type": "frame", - "id": "n2103", + "id": "n1865", "name": "Sub", "width": "fill_container", "height": "fit_content", @@ -36717,7 +32306,7 @@ "children": [ { "type": "rectangle", - "id": "n2104", + "id": "n1866", "name": "Guide", "width": 1.0, "height": "fill_container", @@ -36731,7 +32320,7 @@ }, { "type": "frame", - "id": "n2105", + "id": "n1867", "name": "Kids", "width": "fill_container", "height": "fit_content", @@ -36741,7 +32330,7 @@ "children": [ { "type": "frame", - "id": "n2106", + "id": "n1868", "name": "Outline", "width": "fill_container", "height": "fit_content", @@ -36751,7 +32340,7 @@ "children": [ { "type": "frame", - "id": "n2107", + "id": "n1869", "name": "Item", "width": "fill_container", "height": "fit_content", @@ -36762,7 +32351,7 @@ "children": [ { "type": "frame", - "id": "n2108", + "id": "n1870", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36775,7 +32364,7 @@ }, { "type": "frame", - "id": "n2109", + "id": "n1871", "name": "Line", "width": "fill_container", "height": 20.0, @@ -36786,7 +32375,7 @@ "children": [ { "type": "text", - "id": "n2110", + "id": "n1872", "name": "", "width": "fit_content", "height": "fit_content", @@ -36805,7 +32394,7 @@ }, { "type": "text", - "id": "n2111", + "id": "n1873", "name": "m=m", "width": 27.0, "height": "fit_content", @@ -36847,7 +32436,7 @@ }, { "type": "frame", - "id": "n2112", + "id": "n1874", "name": "Item", "width": "fill_container", "height": "fit_content", @@ -36858,7 +32447,7 @@ "children": [ { "type": "frame", - "id": "n2113", + "id": "n1875", "name": "Fold", "width": 14.0, "height": 20.0, @@ -36871,7 +32460,7 @@ }, { "type": "frame", - "id": "n2114", + "id": "n1876", "name": "Line", "width": "fill_container", "height": 20.0, @@ -36882,7 +32471,7 @@ "children": [ { "type": "text", - "id": "n2115", + "id": "n1877", "name": "{state.count}", "width": "fit_content", "height": "fit_content", @@ -36936,7 +32525,7 @@ }, { "type": "frame", - "id": "n2116", + "id": "n1878", "name": "Tools", "width": "fit_content", "height": 20.0, @@ -36947,7 +32536,7 @@ "children": [ { "type": "frame", - "id": "n2117", + "id": "n1879", "name": "sparkles", "width": 22.0, "height": 20.0, @@ -36960,7 +32549,7 @@ "children": [ { "type": "icon_font", - "id": "n2118", + "id": "n1880", "name": "sparkles", "iconFontName": "sparkles", "width": 14.0, @@ -36976,7 +32565,7 @@ }, { "type": "frame", - "id": "n2119", + "id": "n1881", "name": "pencil", "width": 22.0, "height": 20.0, @@ -36989,7 +32578,7 @@ "children": [ { "type": "icon_font", - "id": "n2120", + "id": "n1882", "name": "pencil", "iconFontName": "pencil", "width": 14.0, @@ -37017,7 +32606,7 @@ }, { "type": "frame", - "id": "n2121", + "id": "n1883", "name": "Lines 60–60", "width": "fill_container", "height": "fit_content", @@ -37028,7 +32617,7 @@ "children": [ { "type": "frame", - "id": "n2122", + "id": "n1884", "name": "Code", "width": 600.0, "height": "fill_container", @@ -37044,7 +32633,7 @@ "children": [ { "type": "frame", - "id": "n2123", + "id": "n1885", "name": "Line 60", "width": "fill_container", "height": 20.0, @@ -37055,7 +32644,7 @@ "children": [ { "type": "frame", - "id": "n2124", + "id": "n1886", "name": "Number", "width": 44.0, "height": 20.0, @@ -37067,7 +32656,7 @@ "children": [ { "type": "text", - "id": "n2125", + "id": "n1887", "name": "60", "width": "fit_content", "height": "fit_content", @@ -37088,7 +32677,7 @@ }, { "type": "frame", - "id": "n2126", + "id": "n1888", "name": "Margin", "width": 26.0, "height": 20.0, @@ -37096,7 +32685,7 @@ }, { "type": "text", - "id": "n2127", + "id": "n1889", "name": "}", "width": "fit_content", "height": "fit_content", @@ -37119,7 +32708,7 @@ }, { "type": "rectangle", - "id": "n2128", + "id": "n1890", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -37133,7 +32722,7 @@ }, { "type": "frame", - "id": "n2129", + "id": "n1891", "name": "Preview", "width": "fill_container", "height": "fill_container", @@ -37149,7 +32738,7 @@ "children": [ { "type": "frame", - "id": "n2130", + "id": "n1892", "name": "Level", "width": "fill_container", "height": "fill_container", @@ -37165,7 +32754,7 @@ }, { "type": "frame", - "id": "n2131", + "id": "n1893", "name": "End", "width": "fill_container", "height": 28.0, @@ -37176,7 +32765,7 @@ "children": [ { "type": "frame", - "id": "n2132", + "id": "n1894", "name": "Code", "width": 600.0, "height": 28.0, @@ -37184,7 +32773,7 @@ }, { "type": "rectangle", - "id": "n2133", + "id": "n1895", "name": "Sash", "width": 1.0, "height": "fill_container", @@ -37204,7 +32793,7 @@ }, { "type": "frame", - "id": "n2134", + "id": "n1896", "name": "Status", "width": "fill_container", "height": 26.0, @@ -37226,7 +32815,7 @@ "children": [ { "type": "frame", - "id": "n2135", + "id": "n1897", "name": "Branch", "width": "fit_content", "height": "fit_content", @@ -37237,7 +32826,7 @@ "children": [ { "type": "icon_font", - "id": "n2136", + "id": "n1898", "name": "git-branch", "iconFontName": "git-branch", "width": 13.0, @@ -37251,7 +32840,7 @@ }, { "type": "text", - "id": "n2137", + "id": "n1899", "name": "master", "width": "fit_content", "height": "fit_content", @@ -37272,7 +32861,7 @@ }, { "type": "frame", - "id": "n2138", + "id": "n1900", "name": "Right", "width": "fit_content", "height": "fit_content", @@ -37283,7 +32872,7 @@ "children": [ { "type": "text", - "id": "n2139", + "id": "n1901", "name": "代码阅读", "width": "fit_content", "height": "fit_content", @@ -37302,7 +32891,7 @@ }, { "type": "text", - "id": "n2140", + "id": "n1902", "name": "TypeScript JSX", "width": "fit_content", "height": "fit_content",