-
Notifications
You must be signed in to change notification settings - Fork 1
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 #272 from TripInfoWeb/dev_informations
Feat: 정보 등록, 수정 페이지에서 useForm 사용
- Loading branch information
Showing
16 changed files
with
372 additions
and
359 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,52 @@ | ||
interface Props { | ||
className?: string; | ||
} | ||
|
||
const DeleteIcon = ({ className }: Props) => { | ||
return ( | ||
<svg | ||
className={className} | ||
width="16" | ||
height="16" | ||
viewBox="0 0 18 18" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M1.04688 2.96985H16.8998" | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M6.00098 13.8593L6.00098 5.93969" | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M8.97363 13.8593L8.97363 5.93969" | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M11.9453 13.8593L11.9453 5.93969" | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M7.00977 1.5H10.9362C11.2124 1.5 11.4362 1.72386 11.4362 2V2.4598H6.50977V2C6.50977 1.72386 6.73362 1.5 7.00977 1.5ZM5.00977 2C5.00977 0.895429 5.9052 0 7.00977 0H10.9362C12.0408 0 12.9362 0.895431 12.9362 2V2.4598V2.96985H5.00977V2.4598V2Z" | ||
fill="#A3A3A3" | ||
stroke-width="0.5" | ||
/> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M2.03711 4.94978V13.8191C2.03711 16.0283 3.82797 17.8191 6.03711 17.8191H11.9084C14.1176 17.8191 15.9084 16.0283 15.9084 13.8191V4.94978H14.4084V13.8191C14.4084 15.1998 13.2891 16.3191 11.9084 16.3191H6.03711C4.6564 16.3191 3.53711 15.1998 3.53711 13.8191V4.94978H2.03711Z" | ||
fill="#A3A3A3" | ||
stroke-width="0.5" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default DeleteIcon; |
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,31 @@ | ||
interface Props { | ||
className?: string; | ||
} | ||
|
||
const EditIcon = ({ className }: Props) => { | ||
return ( | ||
<svg | ||
className={className} | ||
width="20" | ||
height="20" | ||
viewBox="0 0 22 21" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M14.5288 1.9437C15.0172 1.45576 15.809 1.45576 16.2974 1.9437L19.0726 4.7165C19.5609 5.20444 19.5609 5.99556 19.0726 6.4835L9.05327 16.4941C8.85152 16.6957 8.58685 16.8223 8.30318 16.8529L5.19226 17.1883C4.39872 17.2738 3.72913 16.6048 3.81477 15.812L4.15048 12.7038C4.18109 12.4203 4.30778 12.1559 4.50953 11.9543L14.5288 1.9437Z" | ||
stroke-width="1.5" | ||
/> | ||
<rect | ||
x="0.350303" | ||
width="3.46633" | ||
height="0.495189" | ||
transform="matrix(0.707413 0.7068 0.707413 -0.7068 13.5341 4.70214)" | ||
fill="white" | ||
stroke-width="0.495189" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default EditIcon; |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.