Manta Developers
GitHub
Menu

@manta-eu/react/pages

Reference for @manta-eu/react/pages as it is on main.

Type Aliases

AppPage

AppPage = object

Properties

datastoreRoutes?

optional datastoreRoutes?: ReactNode

id

id: string

isAllowed?

optional isAllowed?: (auth) => boolean

Parameters
auth

AuthContextValue

Returns

boolean

optional nav?: PageNav

routes?

optional routes?: Partial<RouteElements>


NavBadgeState = object

Properties

hasConnectionProblems

hasConnectionProblems: boolean


PageNav = Omit<NavExtra, "badge" | "placement"> & object

Type Declaration

badge?

optional badge?: (state) => ReactNode

Parameters
state

NavBadgeState

Returns

ReactNode

placement?

optional placement?: "sidebar" | "account-menu"

Variables

activity

const activity: object

Type Declaration

id

id: string = "activity"

nav: object

href: string = "/activity"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Activity

id: "nav-activity" = pageNavIds.activity

title: string = "Activity"

routes

routes: object

routes.Activity

Activity: Element

routes.ActivityDetail

ActivityDetail: Element


brandGuidelines

const brandGuidelines: object

Type Declaration

id

id: string = "brand-guidelines"

nav: object

href: string = "/brand-guidelines"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Palette

id: string = "nav-brand-guidelines"

title: string = "Brand guidelines"

routes

routes: object

routes.BrandGuidelines

BrandGuidelines: Element


chat

const chat: object

Type Declaration

id

id: string = "chat"

routes

routes: object

routes.Chat

Chat: Element


dataExplorer

const dataExplorer: object

Type Declaration

id

id: string = "data-explorer"

nav: object

href: string = "/data"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Database

id: "nav-data-explorer" = pageNavIds.dataExplorer

isCurrent: (pathname) => boolean

Parameters
pathname

string

Returns

boolean

title: string = "Data Explorer"

routes

routes: object

routes.DataCollection

DataCollection: Element

routes.DataDetail

DataDetail: Element

routes.DataEntity

DataEntity: Element

routes.DataExplorerCoverage

DataExplorerCoverage: Element

routes.DataExplorerFiles

DataExplorerFiles: Element

routes.DataExplorerIndex

DataExplorerIndex: Element

routes.DataExplorerIngest

DataExplorerIngest: Element

routes.DataExplorerLayout

DataExplorerLayout: Element

routes.DataExplorerPrefix

DataExplorerPrefix: Element

routes.DataExplorerRecent

DataExplorerRecent: Element

routes.DataExplorerType

DataExplorerType: Element


defaultPages

const defaultPages: readonly AppPage[]


memories

const memories: object

Type Declaration

id

id: string = "memories"

nav: object

href: string = "/memories"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Brain

id: "nav-memories" = pageNavIds.memories

title: string = "Memories"

routes

routes: object

routes.Memories

Memories: Element


plans

const plans: object

Type Declaration

id

id: string = "plans"

nav: object

href: string = "/plans"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Zap

id: "nav-plans" = pageNavIds.plans

title: string = "Plans"

routes

routes: object

routes.Plans

Plans: Element


requests

const requests: object

Type Declaration

id

id: string = "requests"

nav: object

href: string = "/requests"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = Inbox

id: string = "nav-requests"

title: string = "Requests"

routes

routes: object

routes.Requests

Requests: Element


team

const team: object

Type Declaration

id

id: string = "team"

isAllowed

isAllowed: (__namedParameters) => boolean

Parameters
__namedParameters

AuthContextValue

Returns

boolean

nav: object

href: string = "/team"

icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> = UserPlus

placement: "account-menu" = "account-menu"

title: string = "Team Members"

routes

routes: object

routes.Team

Team: Element