Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-web
ensembl-client
Commits
4853a9ec
Unverified
Commit
4853a9ec
authored
Sep 16, 2021
by
Imran Salam
Committed by
GitHub
Sep 16, 2021
Browse files
Add placeholder loader for Track Panel (#577)
parent
ed8cb5cf
Pipeline
#194170
passed with stages
in 4 minutes and 29 seconds
Changes
22
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
src/ensembl/stories/sidebar-loader/SidebarLoader.stories.scss
...ensembl/stories/sidebar-loader/SidebarLoader.stories.scss
+8
-0
src/ensembl/stories/sidebar-loader/SidebarLoader.stories.tsx
src/ensembl/stories/sidebar-loader/SidebarLoader.stories.tsx
+33
-0
No files found.
src/ensembl/stories/sidebar-loader/SidebarLoader.stories.scss
0 → 100644
View file @
4853a9ec
@import
'src/styles/common'
;
.fullPageWrapper
{
border
:
1px
solid
$light-grey
;
padding
:
20px
;
height
:
500px
;
width
:
450px
;
}
src/ensembl/stories/sidebar-loader/SidebarLoader.stories.tsx
0 → 100644
View file @
4853a9ec
/**
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
React
from
'
react
'
;
import
{
SidebarLoader
}
from
'
src/shared/components/loader
'
;
import
styles
from
'
./SidebarLoader.stories.scss
'
;
export
default
{
title
:
'
Components/Shared Components/SidebarLoader
'
};
export
const
FullPageLoader
=
()
=>
(
<
div
className
=
{
styles
.
fullPageWrapper
}
>
<
SidebarLoader
/>
</
div
>
);
FullPageLoader
.
storyName
=
'
full-page
'
;
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment