Skip to content

Commit

Permalink
feat: Add Grid component
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 3, 2020
1 parent ed59000 commit 2db768d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/ComponentExample.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
margin-left: 0.5rem;
}
}

:global(.nr1-RedBox) {
color: red;
background: rgba(255, 0, 0, 0.15);
box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.5);

display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 0.5rem;
width: 100%;
height: 100%;
}
}

.error {
Expand Down
4 changes: 4 additions & 0 deletions src/data/sidenav.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
{
"displayName": "CardHeader",
"url": "/components/card-header"
},
{
"displayName": "Grid",
"url": "/components/grid"
}
]
},
Expand Down
7 changes: 7 additions & 0 deletions src/markdown-pages/components/grid.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
path: '/components/grid'
title: 'Grid'
description: 'A Grid component!'
component: 'Grid'
template: 'ReferenceTemplate'
---

0 comments on commit 2db768d

Please sign in to comment.