mr-component
Version:
A library for Mr components
26 lines (21 loc) • 994 B
JavaScript
// 样式导入
import './index.scss';
// 导出所有Vant组件
export { default as VantButton } from './VantButton';
export { default as VantInput } from './VantInput';
export { default as VantCell } from './VantCell';
export { default as VantTag } from './VantTag';
export { default as VantImage } from './VantImage';
// 导出所有Mr组件
export { default as MrButton } from './components/MrButton';
export { default as MrInput } from './components/MrInput';
export { default as MrSelect } from './components/MrSelect';
export { default as MrCard } from './components/MrCard';
export { default as MrPaymentPopup } from './components/MrPaymentPopup';
export { default as MrTitle } from './components/MrTitle';
export { default as MrSwitchCell } from './components/MrSwitchCell';
// 导出类型
// 保留原有的ExampleComponent,用于向后兼容
export { default as ExampleComponent } from './ExampleComponent';
// 默认导出主要组件
export { default } from './VantButton';