-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 使用 "use client" 解决组件在next使用报错问题
- Loading branch information
1 parent
3083570
commit 10ad883
Showing
10 changed files
with
1,995 additions
and
2,002 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
import "./style/index.scss"; | ||
// import 'antd-mobile/dist/antd-mobile.css'; // or 'antd-mobile/dist/antd-mobile.less' | ||
// base | ||
export { default as Loading } from "./components/loading"; | ||
export { default as Icon } from "./components/icon"; | ||
// display | ||
export { default as Badge } from "./components/badge"; | ||
// navigation | ||
// export { default as TabBar } from './components/navigation/tab-bar'; | ||
// export { default as TabBarItem } from './components/navigation/tab-bar/item'; | ||
export { default as Breadcrumb } from "./components/breadcrumb"; | ||
export { default as BreadcrumbItem } from "./components/breadcrumb/breadcrumb-item"; | ||
export { default as Button } from "./components/button"; | ||
export { default as Mask } from "./components/mask"; | ||
export { default as Icon } from "./components/icon"; | ||
export { default as Image } from "./components/image"; | ||
// feedback | ||
export { default as Toast } from "./components/toast"; | ||
export { default as Input } from "./components/input"; | ||
export { default as Loading } from "./components/loading"; | ||
export { default as Mask } from "./components/mask"; | ||
export { default as Modal } from "./components/modal"; | ||
export { default as Progress } from "./components/progress"; | ||
// form | ||
export { default as Switch } from "./components/switch"; | ||
export { default as Input } from "./components/input"; | ||
export { default as Uploader } from "./components/uploader"; | ||
// navigation | ||
// export { default as TabBar } from './components/navigation/tab-bar'; | ||
// export { default as TabBarItem } from './components/navigation/tab-bar/item'; | ||
export { default as Breadcrumb } from "./components/breadcrumb"; | ||
export { default as BreadcrmbItem } from "./components/breadcrumb/breadcrumb-item"; | ||
// feedback | ||
export { default as Toast } from "./components/toast"; | ||
export { default as TreeSelect } from "./components/tree-select"; | ||
// display | ||
export { default as Badge } from "./components/badge"; | ||
export { default as Progress } from "./components/progress"; | ||
export { default as Uploader } from "./components/uploader"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.