mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
use export * where needed
Since we now export types alongside with defintions we use the `export * from` syntax to simplify things
This commit is contained in:
parent
5a1ee71034
commit
3b8b56efda
@ -1,4 +1,4 @@
|
||||
export { AppShell } from './AppShell'
|
||||
export * from './AppShell'
|
||||
export { SideBar } from './SideBar'
|
||||
export { Content } from './Content'
|
||||
export { Sitemap } from './Sitemap'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
export { AuthProvider, useAuth } from './useAuth'
|
||||
export * from './useAuth'
|
||||
export { LoginPage } from './LoginPage'
|
||||
export { SignupPage } from './SignupPage'
|
||||
export { RequestPasswordPage } from './RequestPasswordPage'
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
export { UtopiaMap } from './UtopiaMap'
|
||||
export { Layer } from './Layer'
|
||||
export * from './Layer'
|
||||
export { Tags } from './Tags'
|
||||
export { Permissions } from './Permissions'
|
||||
export * from './Permissions'
|
||||
export { ItemForm } from './ItemForm'
|
||||
export { ItemView } from './ItemView'
|
||||
export { PopupTextAreaInput } from './Subcomponents/ItemPopupComponents/PopupTextAreaInput'
|
||||
|
||||
@ -1,41 +1,12 @@
|
||||
import './index.css'
|
||||
|
||||
export {
|
||||
UtopiaMap,
|
||||
Layer,
|
||||
Tags,
|
||||
Permissions,
|
||||
ItemForm,
|
||||
ItemView,
|
||||
PopupTextAreaInput,
|
||||
PopupStartEndInput,
|
||||
PopupTextInput,
|
||||
PopupButton,
|
||||
TextView,
|
||||
StartEndView,
|
||||
PopupCheckboxInput,
|
||||
} from './Components/Map'
|
||||
export { AppShell, Content, SideBar, Sitemap } from './Components/AppShell'
|
||||
export {
|
||||
AuthProvider,
|
||||
LoginPage,
|
||||
SignupPage,
|
||||
RequestPasswordPage,
|
||||
SetNewPasswordPage,
|
||||
} from './Components/Auth'
|
||||
export { UserSettings, ProfileView, ProfileForm } from './Components/Profile'
|
||||
export { Quests, Modal } from './Components/Gaming'
|
||||
export {
|
||||
TitleCard,
|
||||
CardPage,
|
||||
MapOverlayPage,
|
||||
OverlayItemsIndexPage,
|
||||
MoonCalendar,
|
||||
SelectUser,
|
||||
AttestationForm,
|
||||
MarketView,
|
||||
} from './Components/Templates'
|
||||
export { TextInput, TextAreaInput, SelectBox } from './Components/Input'
|
||||
export * from './Components/Map'
|
||||
export * from './Components/AppShell'
|
||||
export * from './Components/Auth'
|
||||
export * from './Components/Profile'
|
||||
export * from './Components/Gaming'
|
||||
export * from './Components/Templates'
|
||||
export * from './Components/Input'
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user