UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

1 lines 739 B
{"version":3,"file":"Tab.mjs","names":["Tab: FC<TabProps>"],"sources":["../../../src/mdx/Tabs/Tab.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport { FC } from 'react';\n\nimport { DivProps } from '@/types';\n\nimport { styles } from './style';\n\nexport type TabProps = DivProps;\n\nconst Tab: FC<TabProps> = ({ children, className, ...rest }) => {\n return (\n <div className={cx(styles.body, className)} {...rest}>\n <div>{children}</div>\n </div>\n );\n};\n\nTab.displayName = 'MdxTab';\n\nexport default Tab;\n"],"mappings":";;;;;;;AAWA,MAAMA,OAAqB,EAAE,UAAU,WAAW,GAAG,WAAW;AAC9D,QACE,oBAAC;EAAI,WAAW,GAAG,OAAO,MAAM,UAAU;EAAE,GAAI;YAC9C,oBAAC,SAAK,WAAe;GACjB;;AAIV,IAAI,cAAc;AAElB,kBAAe"}