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 { SideBar } from './SideBar'
|
||||||
export { Content } from './Content'
|
export { Content } from './Content'
|
||||||
export { Sitemap } from './Sitemap'
|
export { Sitemap } from './Sitemap'
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
export { AuthProvider, useAuth } from './useAuth'
|
export * from './useAuth'
|
||||||
export { LoginPage } from './LoginPage'
|
export { LoginPage } from './LoginPage'
|
||||||
export { SignupPage } from './SignupPage'
|
export { SignupPage } from './SignupPage'
|
||||||
export { RequestPasswordPage } from './RequestPasswordPage'
|
export { RequestPasswordPage } from './RequestPasswordPage'
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
export { UtopiaMap } from './UtopiaMap'
|
export { UtopiaMap } from './UtopiaMap'
|
||||||
export { Layer } from './Layer'
|
export * from './Layer'
|
||||||
export { Tags } from './Tags'
|
export { Tags } from './Tags'
|
||||||
export { Permissions } from './Permissions'
|
export * from './Permissions'
|
||||||
export { ItemForm } from './ItemForm'
|
export { ItemForm } from './ItemForm'
|
||||||
export { ItemView } from './ItemView'
|
export { ItemView } from './ItemView'
|
||||||
export { PopupTextAreaInput } from './Subcomponents/ItemPopupComponents/PopupTextAreaInput'
|
export { PopupTextAreaInput } from './Subcomponents/ItemPopupComponents/PopupTextAreaInput'
|
||||||
|
|||||||
@ -1,41 +1,12 @@
|
|||||||
import './index.css'
|
import './index.css'
|
||||||
|
|
||||||
export {
|
export * from './Components/Map'
|
||||||
UtopiaMap,
|
export * from './Components/AppShell'
|
||||||
Layer,
|
export * from './Components/Auth'
|
||||||
Tags,
|
export * from './Components/Profile'
|
||||||
Permissions,
|
export * from './Components/Gaming'
|
||||||
ItemForm,
|
export * from './Components/Templates'
|
||||||
ItemView,
|
export * from './Components/Input'
|
||||||
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'
|
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user