Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Infoscreen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evy Storozhenko
Infoscreen
Commits
ce12ff62
Commit
ce12ff62
authored
1 year ago
by
Niklas Schrötler
Browse files
Options
Downloads
Patches
Plain Diff
_Panels: Added a placeholder panel
parent
45e0a0e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/panels/_Panels.tsx
+7
-1
7 additions, 1 deletion
src/panels/_Panels.tsx
with
7 additions
and
1 deletion
src/panels/_Panels.tsx
+
7
−
1
View file @
ce12ff62
...
...
@@ -7,6 +7,7 @@ import React from "react";
import
FahrplanPanel
from
"
./Fahrplan/FahrplanPanel
"
;
import
{
PanelDefinition
}
from
"
../types/LayoutConfig
"
;
import
BildPanel
from
"
./Bild
"
;
import
PanelWrapper
from
"
../meta/PanelWrapper
"
;
/*
* First, please claim a unique id for your panel here. Convention is that it is all lowercase, in snake-case to be
...
...
@@ -22,7 +23,12 @@ export type PanelTypes = "fahrplan" | "bild";
*/
export
const
PanelRenderers
:
{[
panelType
:
string
]:
React
.
FC
<
any
&
{
definition
:
PanelDefinition
<
any
>
}
>
}
=
{
"
fahrplan
"
:
FahrplanPanel
,
"
bild
"
:
BildPanel
"
bild
"
:
BildPanel
,
"
placeholder
"
:
()
=>
(
<
PanelWrapper
className
=
{
"
flex flex-col items-center justify-center text-zinc-400
"
}
>
Dieses Panel wird noch entwickelt
</
PanelWrapper
>
)
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment