-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from SamWilsn/export-from
Use `export ... from ...` syntax for re-exports
- Loading branch information
Showing
1 changed file
with
17 additions
and
37 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,40 +1,20 @@ | ||
import Header from "./ui/Header"; | ||
import IconListItem from "./ui/IconListItem"; | ||
import TextListItem from "./ui/TextListItem"; | ||
import SoftKey from "./ui/SoftKey"; | ||
import Tab from "./ui/Tab"; | ||
import Tabs from "./ui/Tabs"; | ||
import TextInput from "./ui/TextInput"; | ||
import Separator from "./ui/Separator"; | ||
import Button from "./ui/Button"; | ||
export {default as Header } from "./ui/Header"; | ||
export { default as IconListItem } from "./ui/IconListItem"; | ||
export { default as TextListItem } from "./ui/TextListItem"; | ||
export { default as SoftKey } from "./ui/SoftKey"; | ||
export { default as Tab } from "./ui/Tab"; | ||
export { default as Tabs } from "./ui/Tabs"; | ||
export { default as TextInput } from "./ui/TextInput"; | ||
export { default as Separator } from "./ui/Separator"; | ||
export { default as Button } from "./ui/Button"; | ||
|
||
import Avatar from "./ui/Avatar"; | ||
import DropDownMenu from "./DropDownMenu"; | ||
export { default as Avatar } from "./ui/Avatar"; | ||
export { default as DropDownMenu } from "./DropDownMenu"; | ||
|
||
import ListView from "./views/ListView"; | ||
import ListViewKeyed from "./views/ListViewKeyed"; | ||
import ListViewNonKeyed from "./views/ListViewNonKeyed"; | ||
import TabView from "./views/TabView"; | ||
export { default as ListView } from "./views/ListView"; | ||
export { default as ListViewKeyed } from "./views/ListViewKeyed"; | ||
export { default as ListViewNonKeyed } from "./views/ListViewNonKeyed"; | ||
export { default as TabView } from "./views/TabView"; | ||
|
||
import { asArray } from "./utils"; | ||
import toast from "./toast"; | ||
|
||
export { | ||
Header, | ||
IconListItem, | ||
TextInput, | ||
TextListItem, | ||
SoftKey, | ||
Tab, | ||
Tabs, | ||
Separator, | ||
ListView, | ||
ListViewNonKeyed, | ||
ListViewKeyed, | ||
TabView, | ||
Avatar, | ||
DropDownMenu, | ||
Button, | ||
asArray, | ||
toast, | ||
}; | ||
export { asArray } from "./utils"; | ||
export { default as toast } from "./toast"; |