Skip to content

Commit

Permalink
feat: add component for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza committed Dec 7, 2022
1 parent a38d5a5 commit 2229b6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/shared/Permission.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.container .content {
font-family: "Source Code Pro", monospace;
font-weight: 500;
line-height: 180%;
color: #1e233b;
background-color: #cacddb;
display: inline-block;
border: 1px solid #d9dbf8;
border-radius: 1px;
padding: 0px 8px;
}
9 changes: 9 additions & 0 deletions src/components/shared/Permission.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";

import styles from "./Permission.module.css";

export const Permission = ({ content }) => (
<p className={styles.container}>
<span className={styles.content}>{content}</span>
</p>
);

0 comments on commit 2229b6f

Please sign in to comment.