组件侧边栏视口侧边的导航栏Copy MarkdownOpen一个处理设备调整大小并自动移除滚动条的侧边栏组件。 用法 import * as Base from 'fumadocs-core/sidebar'; return ( <Base.SidebarProvider> <Base.SidebarTrigger /> <Base.SidebarList /> </Base.SidebarProvider> ); 侧边栏提供者 PropTypeopen?booleanonOpenChange?functionchildrenReactNode 侧边栏触发器 点击时打开侧边栏。 PropTypeas?function | object | "view" | "use" | "tspan" | "textPath" | "text" | "switch" | "stop" | "set" | "rect" | "radialGradient" | "polyline" | "polygon" | "pattern" | "path" | "mpath" | "metadata" | "mask" | "marker" | "linearGradient" | "line" | "image" | "g" | "foreignObject" | "filter" | "feTurbulence" | "feTile" | "feSpotLight" | "feSpecularLighting" | "fePointLight" | "feOffset" | "feMorphology" | "feMergeNode" | "feMerge" | "feImage" | "feGaussianBlur" | "feFuncR" | "feFuncG" | "feFuncB" | "feFuncA" | "feFlood" | "feDropShadow" | "feDistantLight" | "feDisplacementMap" | "feDiffuseLighting" | "feConvolveMatrix" | "feComposite" | "feComponentTransfer" | "feColorMatrix" | "feBlend" | "ellipse" | "desc" | "defs" | "clipPath" | "circle" | "animateTransform" | "animateMotion" | "animate" | "svg" | "webview" | "wbr" | "video" | "var" | "ul" | "u" | "track" | "tr" | "title" | "time" | "thead" | "th" | "tfoot" | "textarea" | "td" | "tbody" | "template" | "table" | "sup" | "summary" | "sub" | "style" | "strong" | "span" | "source" | "small" | "select" | "section" | "script" | "slot" | "search" | "samp" | "s" | "ruby" | "rt" | "rp" | "q" | "progress" | "pre" | "picture" | "param" | "p" | "output" | "option" | "optgroup" | "ol" | "noscript" | "noindex" | "nav" | "meter" | "meta" | "menuitem" | "menu" | "mark" | "map" | "main" | "link" | "li" | "legend" | "label" | "keygen" | "kbd" | "ins" | "input" | "img" | "iframe" | "i" | "html" | "hr" | "hgroup" | "header" | "head" | "h6" | "h5" | "h4" | "h3" | "h2" | "h1" | "form" | "footer" | "figure" | "figcaption" | "fieldset" | "embed" | "em" | "dt" | "dl" | "div" | "dialog" | "dfn" | "details" | "del" | "dd" | "datalist" | "data" | "colgroup" | "col" | "code" | "cite" | "center" | "caption" | "canvas" | "button" | "br" | "body" | "blockquote" | "big" | "bdo" | "bdi" | "base" | "b" | "audio" | "aside" | "article" | "area" | "address" | "abbr" | "a" | "object" | "symbol" 侧边栏列表 数据属性值描述data-opentrue, false侧边栏是否打开 PropTypeas?function | object | "view" | "use" | "tspan" | "textPath" | "text" | "switch" | "stop" | "set" | "rect" | "radialGradient" | "polyline" | "polygon" | "pattern" | "path" | "mpath" | "metadata" | "mask" | "marker" | "linearGradient" | "line" | "image" | "g" | "foreignObject" | "filter" | "feTurbulence" | "feTile" | "feSpotLight" | "feSpecularLighting" | "fePointLight" | "feOffset" | "feMorphology" | "feMergeNode" | "feMerge" | "feImage" | "feGaussianBlur" | "feFuncR" | "feFuncG" | "feFuncB" | "feFuncA" | "feFlood" | "feDropShadow" | "feDistantLight" | "feDisplacementMap" | "feDiffuseLighting" | "feConvolveMatrix" | "feComposite" | "feComponentTransfer" | "feColorMatrix" | "feBlend" | "ellipse" | "desc" | "defs" | "clipPath" | "circle" | "animateTransform" | "animateMotion" | "animate" | "svg" | "webview" | "wbr" | "video" | "var" | "ul" | "u" | "track" | "tr" | "title" | "time" | "thead" | "th" | "tfoot" | "textarea" | "td" | "tbody" | "template" | "table" | "sup" | "summary" | "sub" | "style" | "strong" | "span" | "source" | "small" | "select" | "section" | "script" | "slot" | "search" | "samp" | "s" | "ruby" | "rt" | "rp" | "q" | "progress" | "pre" | "picture" | "param" | "p" | "output" | "option" | "optgroup" | "ol" | "noscript" | "noindex" | "nav" | "meter" | "meta" | "menuitem" | "menu" | "mark" | "map" | "main" | "link" | "li" | "legend" | "label" | "keygen" | "kbd" | "ins" | "input" | "img" | "iframe" | "i" | "html" | "hr" | "hgroup" | "header" | "head" | "h6" | "h5" | "h4" | "h3" | "h2" | "h1" | "form" | "footer" | "figure" | "figcaption" | "fieldset" | "embed" | "em" | "dt" | "dl" | "div" | "dialog" | "dfn" | "details" | "del" | "dd" | "datalist" | "data" | "colgroup" | "col" | "code" | "cite" | "center" | "caption" | "canvas" | "button" | "br" | "body" | "blockquote" | "big" | "bdo" | "bdi" | "base" | "b" | "audio" | "aside" | "article" | "area" | "address" | "abbr" | "a" | "object" | "symbol"blockScrollingWidth?numberremoveScrollOn?stringHow is this guide?GoodBadLast updated on Link一个处理外部链接的 Link 组件TOC目录