import{j as t,a as r,F as m}from"./dataProvider-3f13e24d.js";import{M as p,C as s,b as i}from"./index-ba82f09b.js";import{D as c,a as l,C as d}from"./DateField.stories-bd418cea.js";import{u as a}from"./index-a1cf9e47.js";import"./index-76fb7be0.js";import"./_commonjsHelpers-de833af9.js";import"./_baseSet-5837f3b2.js";import"./_baseAssignValue-4b27bc5d.js";import"./index-d3ea75b5.js";import"./iframe-973434a3.js";import"../sb-preview/runtime.js";import"./index-11d98b33.js";import"./assertThisInitialized-081f9914.js";import"./cloneDeep-35baf799.js";import"./_baseIteratee-d87c84d1.js";import"./_baseFor-d6cf4e2e.js";import"./identity-66bf3aad.js";import"./_initCloneObject-017b06d4.js";import"./keysIn-ce4aae3b.js";import"./index-356e4a49.js";import"./index-cd5774e0.js";import"./DateField-cd19e71c.js";import"./index-8d47fad6.js";import"./sanitizeFieldRestProps-fb2f7069.js";import"./genericMemo-8de5a1aa.js";import"./useRecordContext-3e1d0ecf.js";import"./Labeled-920c48dc.js";import"./clsx.m-a48b126d.js";function n(e){const o=Object.assign({h1:"h1",p:"p",code:"code",a:"a",h2:"h2"},a(),e.components);return r(m,{children:[t(p,{of:c}),`
`,t(o.h1,{id:"datefield",children:"DateField"}),`
`,r(o.p,{children:["Displays a date, datetime or time using the browser locale (thanks to ",t(o.code,{children:"Date.toLocaleDateString()"}),", ",t(o.code,{children:"Date.toLocaleString()"})," and ",t(o.code,{children:"Date.toLocaleTimeString()"}),"). ",t(o.a,{href:"https://marmelab.com/react-admin/DateField.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"More information"}),"."]}),`
`,t(s,{}),`
`,t(o.h2,{id:"default",children:"Default"}),`
`,t(i,{of:l}),`
`,t(o.h2,{id:"custom",children:"Custom"}),`
`,t(i,{of:d})]})}function I(e={}){const{wrapper:o}=Object.assign({},a(),e.components);return o?t(o,Object.assign({},e,{children:t(n,e)})):n(e)}export{I as default};
