import{j as t}from"./assertThisInitialized-ClXgY4BW.js";import{useMDXComponents as p}from"./index-3-_tf5dF.js";import{ae as e,ag as n,af as o}from"./index-DR6eUxYz.js";import{L as s,D as a,F as l,P as d,A as c,I as f}from"./List.stories-BMjVGF9Y.js";import"./index-BP8_t0zE.js";import"./iframe-Bt0xsNC5.js";import"../sb-preview/runtime.js";import"./index-BCKAMao3.js";import"./index-D-8MO0q_.js";import"./hasIn-BUTlUeuZ.js";import"./identity-B2iMGpmP.js";import"./cloneDeep-BX3t29rH.js";import"./_copyObject-Dr_k0OJK.js";import"./_baseUniq-BtunyI9N.js";import"./index-D1T6JPBw.js";import"./index-DrFu-skq.js";import"./dataProvider-BSMCbdJg.js";import"./ListView-BNoLT4yC.js";import"./defaultI18nProvider-C_r1y4tu.js";import"./Title-Db_cbkJo.js";import"./Button-C3j8Wgdd.js";import"./createSvgIcon-BeVLBbd8.js";import"./createSvgIcon-C1LdFc73.js";import"./PreferencesEditorContext-oPOmBo-a.js";import"./TextField-z9WrHgJg.js";import"./useFormControl-D0zEVldg.js";import"./Modal-CloRq8hE.js";import"./colorManipulator-DXmmM2jC.js";import"./useRecordContext-CmNI-aHo.js";import"./warning-3oRADCZr.js";import"./FormGroupsProvider-B1X-6k0S.js";import"./useResourceContext-BI9mATY-.js";import"./ListNoResults-BHi6V5m8.js";import"./pick-BQz50zYv.js";import"./_isIterateeCall-D0xvKagp.js";import"./useGetList-Dit6Yzrj.js";import"./useQuery-DJhJ3Hj4.js";import"./useLogout-DAYYFX4P.js";import"./useDataProvider-BTi1EEZL.js";import"./useRemoveFromStore-DvPdj666.js";import"./debounce-0x2xWYwC.js";import"./hooks-kyAPvxe4.js";import"./useAuthenticated-CxLvTTH7.js";import"./useAuthState-Chcbfem2.js";import"./useResourceDefinitionContext-mEDLreK0.js";import"./CardContent-C5u1opi3.js";import"./Typography-E7d16C50.js";import"./getFieldLabelTranslationArgs-DwcCC9dO.js";import"./TopToolbar-BqW7kXvQ.js";import"./Toolbar-C8uTbHq-.js";import"./CreateButton-BoKnyQsN.js";import"./merge-2TaxnYbe.js";import"./isArrayLikeObject-WBq23Ido.js";import"./index-qEiLzbkV.js";import"./Clear-2k3OxyE6.js";import"./MenuItem-CP3dxiK8.js";import"./listItemTextClasses-C7xWMLDP.js";import"./ListItemText-Cc_vo_cp.js";import"./Confirm-BXDL5GEC.js";import"./Card-Cv9uZOGS.js";import"./Datagrid-BK2vyqjN.js";import"./SwitchBase-GsdOADyY.js";import"./ExpandMore-Bu7ZqolT.js";import"./useMutation-DBpLFNEy.js";import"./undoableEventEmitter-DTIdLI-s.js";import"./useRefresh-BVYjI9Ho.js";import"./ResourceContextProvider-_t2ysSg2.js";import"./Box-UI_bZnlM.js";import"./CircularProgress-CoZCnRya.js";import"./SimpleForm-DxY-i_Qk.js";import"./DeleteButton-BNKEwqMZ.js";import"./useRedirect-BE8GZC2N.js";import"./Stack-BmeOikgJ.js";import"./OptionalRecordContextProvider-ChL7EZ8k.js";import"./List-D8wQapDP.js";import"./ListBase-CEqRUlEo.js";import"./TextField-n0Myx-gm.js";import"./DateField-Csy-M8g5.js";import"./AdminContext-jMMnnv4u.js";import"./Resource-C2QbVwPV.js";function m(r){const i={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",...p(),...r.components};return t.jsxs(t.Fragment,{children:[t.jsx(e,{of:s}),`
`,t.jsx(i.h1,{id:"list",children:"List"}),`
`,t.jsxs(i.p,{children:["The ",t.jsx(i.code,{children:"<List>"})," component is the root component for list pages. It fetches a list of records from the data provider, puts it in a ListContext, renders the default list page layout (title, buttons, filters, pagination), and renders its children. Usual children of ",t.jsx(i.code,{children:"<List>"}),", like ",t.jsx(i.code,{children:"<Datagrid>"}),", are responsible for displaying the list of records. ",t.jsx(i.a,{href:"https://marmelab.com/react-admin/List.html",rel:"nofollow",children:"More information"}),"."]}),`
`,t.jsx(n,{}),`
`,t.jsx(i.h2,{id:"default",children:"Default"}),`
`,t.jsx(o,{of:a}),`
`,t.jsx(i.h2,{id:"filter",children:"Filter"}),`
`,t.jsx(o,{of:l}),`
`,t.jsx(i.h2,{id:"permanentfilter",children:"PermanentFilter"}),`
`,t.jsx(o,{of:d}),`
`,t.jsx(i.h2,{id:"aside",children:"Aside"}),`
`,t.jsx(o,{of:c}),`
`,t.jsx(i.h2,{id:"infinite",children:"Infinite"}),`
`,t.jsx(o,{of:f})]})}function zt(r={}){const{wrapper:i}={...p(),...r.components};return i?t.jsx(i,{...r,children:t.jsx(m,{...r})}):m(r)}export{zt as default};
