1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6878],{15104:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>l,frontMatter:()=>t,metadata:()=>c,toc:()=>p});var s=n(85893),o=n(11151);const t={sidebar_position:7,description:"Touying progress bar.",toc_max_heading_level:2},i="progress-bar",c={id:"reference/components/progress-bar",title:"progress-bar",description:"Touying progress bar.",source:"@site/docs/reference/components/progress-bar.mdx",sourceDirName:"reference/components",slug:"/reference/components/progress-bar",permalink:"/docs/reference/components/progress-bar",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7,description:"Touying progress bar.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"adaptive-columns",permalink:"/docs/reference/components/adaptive-columns"},next:{title:"left-and-right",permalink:"/docs/reference/components/left-and-right"}},a={},p=[{value:"primary : <TypeLink></TypeLink>",id:"primary",level:3},{value:"secondary : <TypeLink></TypeLink>",id:"secondary",level:3},{value:"height : <TypeLink></TypeLink> <Default><code>2pt</code></Default>",id:"height",level:3}];function d(e){const r={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,o.a)(),...e.components},{Default:n,Param:t,Parameters:i,Signature:c,SignatureName:a,SignatureParam:p,SourceLink:d,TypeLink:l}=r;return n||h("Default",!0),t||h("Param",!0),i||h("Parameters",!0),c||h("Signature",!0),a||h("SignatureName",!0),p||h("SignatureParam",!0),d||h("SourceLink",!0),l||h("TypeLink",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h1,{id:"progress-bar",children:"progress-bar"}),"\n",(0,s.jsx)(c,{children:(0,s.jsxs)("code",{children:[(0,s.jsx)(a,{children:"progress-bar"}),"(",(0,s.jsxs)(p,{children:[(0,s.jsx)(r.a,{href:"#height",children:"height: 2pt"}),", "]}),(0,s.jsxs)(p,{children:[(0,s.jsx)(r.a,{href:"#primary",children:"primary"}),", "]}),(0,s.jsx)(p,{children:(0,s.jsx)(r.a,{href:"#secondary",children:"secondary"})}),")",(0,s.jsx)(d,{href:"https://github.com/touying-typ/touying/blob/main/src/components.typ#L338"})]})}),"\n",(0,s.jsx)(r.p,{children:"Touying progress bar."}),"\n",(0,s.jsxs)(i,{children:[(0,s.jsxs)(r.h3,{id:"primary",children:["primary : ",(0,s.jsx)(l,{type:"color"})]}),(0,s.jsx)(t,{children:(0,s.jsx)(r.p,{children:"The color of the progress bar."})}),(0,s.jsxs)(r.h3,{id:"secondary",children:["secondary : ",(0,s.jsx)(l,{type:"color"})]}),(0,s.jsx)(t,{children:(0,s.jsx)(r.p,{children:"The color of the background of the progress bar."})}),(0,s.jsxs)(r.h3,{id:"height",children:["height : ",(0,s.jsx)(l,{type:"length"})," ",(0,s.jsx)(n,{children:(0,s.jsx)(r.code,{children:"2pt"})})]}),(0,s.jsx)(t,{children:(0,s.jsxs)(r.p,{children:["The height of the progress bar, optional. Default is ",(0,s.jsx)(r.code,{children:"2pt"}),"."]})})]}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Returns:"})," ",(0,s.jsx)(l,{type:"content"})]})]})}function l(e={}){const{wrapper:r}={...(0,o.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}function h(e,r){throw new Error("Expected "+(r?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,r,n)=>{n.d(r,{Z:()=>c,a:()=>i});var s=n(67294);const o={},t=s.createContext(o);function i(e){const r=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(t.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.