-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from PLADI-ALM/feat/PDW-32-office-add
[PDW-32/feat] 회의실 추가 및 수정
- Loading branch information
Showing
6 changed files
with
525 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from "react"; | ||
import styled from "styled-components" | ||
|
||
const WhiteCapsule = styled.p` | ||
border-radius: 20px; | ||
background: white; | ||
border: 1px solid #A263DE; | ||
color: #A263DE; | ||
text-align: center; | ||
font-size: 18px; | ||
padding: 7px 15px; | ||
margin: 0 10px 0 0; | ||
min-width: fit-content; | ||
height: fit-content; | ||
display: flex; | ||
align-items: center; | ||
z-index: 0; | ||
` | ||
|
||
const DeleteBtn = styled.button` | ||
background: none; | ||
font-size: 20px; | ||
border: none; | ||
color: #4C4C4C; | ||
cursor: pointer; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin-left: 10px; | ||
padding: 0; | ||
` | ||
|
||
function FacilityCapsule(props) { | ||
return ( | ||
<WhiteCapsule>{props.text}<DeleteBtn onClick={props.click}>×</DeleteBtn></WhiteCapsule> | ||
); | ||
} | ||
|
||
export default FacilityCapsule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.