Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
design-system-lib
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
julkiset-sivut
design-system-lib
Commits
d0f376a3
Commit
d0f376a3
authored
4 years ago
by
Ekaterina Kondareva
Browse files
Options
Downloads
Patches
Plain Diff
hy-main component
parent
5bbf8f22
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/hy-main/hy-main.scss
+6
-0
6 additions, 0 deletions
src/components/hy-main/hy-main.scss
src/components/hy-main/hy-main.tsx
+23
-0
23 additions, 0 deletions
src/components/hy-main/hy-main.tsx
with
29 additions
and
0 deletions
src/components/hy-main/hy-main.scss
0 → 100644
+
6
−
0
View file @
d0f376a3
:host
{
display
:
block
;
}
.hy-main
{
}
This diff is collapsed.
Click to expand it.
src/components/hy-main/hy-main.tsx
0 → 100644
+
23
−
0
View file @
d0f376a3
import
{
Component
,
Prop
,
h
}
from
'
@stencil/core
'
;
@
Component
({
tag
:
'
hy-main
'
,
styleUrl
:
'
hy-main.scss
'
,
shadow
:
true
})
export
class
HyMain
{
@
Prop
()
hasSidebar
:
boolean
=
false
;
render
()
{
return
(
<
div
class
=
{
{
'
hy-main
'
:
true
,
'
has-sidebar
'
:
this
.
hasSidebar
}
}
>
<
slot
/>
</
div
>
);
}
}
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