{"version":3,"file":"index.6324271a.js","sources":["../../src/components/Timeline/item/index.tsx","../../src/components/Timeline/index.tsx"],"sourcesContent":["import React from \"react\";\r\nimport '../index.less'\r\n\r\nexport interface ZTimelineItemProps {\r\n children?: React.ReactNode\r\n color?: string\r\n line?: boolean\r\n}\r\n\r\nconst ZTimelineItem = (props: ZTimelineItemProps) => {\r\n const {children, color = '#dddddd', line = true} = props\r\n return (\r\n
\r\n
\r\n {line &&
|| ''}\r\n
{children}
\r\n
\r\n )\r\n}\r\nexport default ZTimelineItem","import React from \"react\";\r\nimport './index.less'\r\nimport ZTimelineItem from \"@/components/Timeline/item\";\r\n\r\nexport interface TimelineProps {\r\n children?: React.ReactNode\r\n options?: T\r\n}\r\n\r\nconst ZTimeline = (props: TimelineProps) => {\r\n\r\n const {children} = props\r\n return
{children}
\r\n}\r\n\r\nZTimeline.Item = ZTimelineItem\r\nexport default ZTimeline"],"names":["ZTimelineItem","props","children","color","line","border","ZTimeline","Item"],"mappings":"gDASA,KAAMA,GAAgB,AAACC,GAA8B,MAC3C,CAACC,WAAUC,QAAQ,UAAWC,OAAO,IAAQH,kBAE1C,UAAU,+BACN,UAAU,gBAAgB,MAAO,CAACI,OAAS,aAAYF,OAC3DC,YAAa,UAAU,oBAAsB,YACzC,UAAU,oBAAoB,MAAO,CAACD,0BCNjDG,EAAY,AAACL,GAAyB,MAElC,CAACC,YAAYD,kBACP,UAAU,yBAG1BK,EAAUC,KAAOP"}