(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[277],{3558:function(e,i,r){Promise.resolve().then(r.bind(r,2461))},2461:function(e,i,r){"use strict";r.r(i),r.d(i,{default:function(){return V}});var t=r(4004),n=r(4978),s=r(65),l=r(9819),a=r(6739),d=r(5227),c=r(271),o=r(721),h=r(9524),p=r(988),x=r(4300),j=r(2433),Z=r(6551),m=r(8420),f=r(1753),u=r(9132),v=r(2161),b=r(8730),P=r(770),y=r(180),_=r(2190),g=r(4231),w=r(5536),k=r(1966),I=r(3375),C=r(3686),A=r(7098),N=r(9426),F=r(5891),T=r(5123),$=r(7354),q=r(1467),E=r(5527),R=r(1209),D=r(9513),L=r(959),O=r(2614),S=()=>{let{fragmentId:e,setFragmentId:i}=(0,n.useContext)(L.Z),r=e=>{i(e.target.hash)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,t.jsxs)(E.Z,{indent:!1,children:[(0,t.jsx)(R.Z,{onClick:r,children:(0,t.jsx)(p.Z,{variant:"transparent",href:"#pill-api",active:/#pill-api$/.test(e),"data-testid":"pill_api",children:"Pill API"})}),(0,t.jsx)(R.Z,{onClick:r,children:(0,t.jsx)(p.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,t.jsx)(R.Z,{onClick:r,children:(0,t.jsx)(p.Z,{variant:"transparent",href:"#pill-props",active:/#pill-props$/.test(e),"data-testid":"pill_props",children:"Pill Props"})}),(0,t.jsx)(D.Z,{}),(0,t.jsx)(R.Z,{onClick:r,children:(0,t.jsx)(p.Z,{variant:"transparent",fw:"bold",href:"#system-props",active:/#system-props$/.test(e),"data-testid":"system_props",children:"System Props"})})]}),(0,t.jsx)(O.Z,{})]})},z=r(9362),B=r(176),G=r(1064);let M=(0,s.zo)(l.Z).withConfig({componentId:"sc-251a1071-0"})(["width:100%;"]);function V(){let e=(0,w.Z)({query:{media:"(min-width: 1281px)"}}),i=(0,w.Z)({query:{media:"(max-width: 1280px)"}}),r=(0,w.Z)({query:{media:"(max-width: 768px)"}}),n=["pill-api","import","pill-props","system-props",...G.Z];return(0,t.jsx)(z.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsx)(F.Z,{currentPage:"root/core/children"}),(0,t.jsxs)(d.Z,{display:"flex",children:[e&&(0,t.jsx)(c.Z,{children:(0,t.jsx)(o.Z,{fluid:!0,children:(0,t.jsx)(q.Z,{})})}),(0,t.jsxs)(M,{borderLeft:r?"none":i?"none":"dark",borderRight:r?"none":"dark",children:[(0,t.jsx)(d.Z,{borderBottom:"dark",children:(0,t.jsx)(o.Z,{children:(0,t.jsxs)(h.Z,{children:[(0,t.jsx)(p.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,t.jsx)(k.Z,{}),(0,t.jsx)(x.Z,{variant:"body2",children:"api"}),(0,t.jsx)(k.Z,{}),(0,t.jsx)(p.Z,{variant:"transparent",href:"/core/api/react-pill",active:!0,width:"auto","data-testid":"breadcrumbs_react_pill",children:"react-pill"})]})})}),(0,t.jsxs)(o.Z,{fluid:!1,children:[(0,t.jsxs)(j.Z,{id:"pill-api",children:[(0,t.jsx)(x.Z,{variant:"h1",children:"React Pill API"}),(0,t.jsx)(x.Z,{variant:"body1",children:"API reference for the React Pill component from Modj.js. Learn about how to use the Pill component and all the valid props that can be supplied to this component."})]}),(0,t.jsxs)(j.Z,{id:"import",children:[(0,t.jsx)(x.Z,{variant:"h2",children:"Import "}),(0,t.jsx)(Z.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,t.jsxs)(d.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,t.jsx)(I.Z,{height:"2em",width:"1.5em"}),(0,t.jsx)(x.Z,{variant:"small",fs:1,children:"App.jsx"})]}),headerContent:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(m.Z,{arrow:!0,el:(0,t.jsx)(p.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Pill",target:"_blank","data-tesid":"import_github",children:(0,t.jsx)(C.Z,{})}),children:(0,t.jsx)(f.Z,{displayPosition:"left",children:(0,t.jsx)(x.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Pill } from '@modjs/core'"})]}),(0,t.jsxs)(j.Z,{id:"pill-props",pb:"normal",mt:16,children:[(0,t.jsx)(x.Z,{variant:"h2",children:"Pill Props"}),(0,t.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Pill component and can be applied to this component."}),(0,t.jsxs)(u.Z,{children:[(0,t.jsx)(v.Z,{children:(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(P.Z,{children:"Name"}),(0,t.jsx)(P.Z,{children:"Type"}),(0,t.jsx)(P.Z,{children:"Default"}),(0,t.jsx)(P.Z,{children:"Description"})]})}),(0,t.jsx)(y.Z,{children:(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(_.Z,{children:"children"}),(0,t.jsx)(_.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(_.Z,{children:"-"}),(0,t.jsx)(_.Z,{children:"The content of the component."})]})})]})]}),(0,t.jsx)($.Z,{}),(0,t.jsxs)(d.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,t.jsxs)(p.Z,{href:"/core/api/react-phone-field",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_phone_field_api",children:[(0,t.jsx)(A.Z,{}),"PhoneField API"]}),(0,t.jsxs)(p.Z,{href:"/core/api/react-pre",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_pre_api",children:["Pre API",(0,t.jsx)(N.Z,{})]})]})]}),(0,t.jsx)(T.Z,{})]}),(0,t.jsx)(B.Z,{defaultFragmentId:"#pill-api",sections:n,children:(0,t.jsx)(S,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=3558)}),_N_E=e.O()}]);