MSP-3134 move folders

This commit is contained in:
mikheykinnv committed 2024-04-10 10:07:39 +08:00
1 parent ab902d855e
commit ec02fb7af0
7 files changed
+91 -73

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
.close-btn {
border: none;
background: transparent;
padding: 5px !important;
position: absolute;
top: 8px;
right: 8px;
}
+24
View File
@@ -0,0 +1,24 @@
import { Button } from 'antd'
import './close-btn.scss'
interface CloseBtnPropsType {
ariaLabel?: string
onClick: () => void
}
const CloseBtn = ({ onClick, ariaLabel }: CloseBtnPropsType) => {
return (
<Button className="close-btn" aria-label={ariaLabel} onClick={onClick}>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 50 50"
width="20px"
height="20px"
>
<path d="M 7.71875 6.28125 L 6.28125 7.71875 L 23.5625 25 L 6.28125 42.28125 L 7.71875 43.71875 L 25 26.4375 L 42.28125 43.71875 L 43.71875 42.28125 L 26.4375 25 L 43.71875 7.71875 L 42.28125 6.28125 L 25 23.5625 Z" />
</svg>
</Button>
)
}
export default CloseBtn