Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12x | import React from "react";
type TProps = { fill: string; size?: number };
const DonationBox = ({ fill, size = 20 }: TProps) => {
return (
<svg
width={size}
height={size}
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M3.81391 7.5L16.1858 7.5L15.6858 17.5L4.31391 17.5L3.81391 7.5ZM3.83485 6.25L16.1649 6.25L14.7586 2.5L5.2411 2.5L3.83485 6.25ZM2.51279 6.50875C2.50426 6.33806 2.53081 6.16744 2.59082 6.00742L4.07069 2.0611C4.25365 1.57322 4.72005 1.25 5.2411 1.25H14.7586C15.2797 1.25 15.7461 1.57322 15.929 2.0611L17.4089 6.00742C17.4689 6.16744 17.4954 6.33806 17.4869 6.50875L16.9342 17.5624C16.901 18.2277 16.3519 18.75 15.6858 18.75H4.31391C3.64782 18.75 3.09874 18.2277 3.06547 17.5624L2.51279 6.50875ZM7.49986 3.75C7.15468 3.75 6.87486 4.02982 6.87486 4.375C6.87486 4.72018 7.15468 5 7.49986 5L12.4999 5C12.845 5 13.1249 4.72018 13.1249 4.375C13.1249 4.02982 12.845 3.75 12.4999 3.75L7.49986 3.75ZM10.6249 8.75V9.05162C11.1072 9.11474 11.5441 9.26163 11.8956 9.53141C12.4256 9.93813 12.6557 10.5398 12.6557 11.2251C12.6557 11.5703 12.3759 11.8501 12.0307 11.8501C11.6855 11.8501 11.4057 11.5703 11.4057 11.2251C11.4057 10.8315 11.2868 10.6399 11.1346 10.523C10.9506 10.3819 10.6048 10.2635 9.9999 10.2635C9.44113 10.2635 9.08285 10.3558 8.87901 10.4917C8.72316 10.5956 8.59409 10.7644 8.59409 11.1616C8.59409 11.3634 8.64464 11.4702 8.69116 11.5329C8.7421 11.6016 8.82671 11.6682 8.96645 11.7251C9.26867 11.8483 9.67838 11.8693 10.0634 11.8693C10.0756 11.8693 10.0877 11.8697 10.0998 11.8704C10.4941 11.876 11.0803 11.9095 11.6051 12.0957C11.9134 12.2051 12.2419 12.381 12.4961 12.6729C12.761 12.9771 12.9096 13.367 12.9096 13.8271C12.9096 14.5772 12.6209 15.1797 12.0159 15.55C11.6264 15.7885 11.146 15.9039 10.6249 15.9499V16.302C10.6249 16.6472 10.345 16.927 9.99986 16.927C9.65468 16.927 9.37486 16.6472 9.37486 16.302V15.9507C8.76162 15.8983 8.24139 15.7558 7.84541 15.4655C7.2687 15.0425 7.09024 14.4151 7.09024 13.7636C7.09024 13.4184 7.37006 13.1386 7.71524 13.1386C8.06042 13.1386 8.34024 13.4184 8.34024 13.7636C8.34024 14.1909 8.44736 14.3568 8.58461 14.4575C8.77414 14.5964 9.17412 14.7252 9.9999 14.7252C10.7019 14.7252 11.1272 14.6285 11.3632 14.484C11.5358 14.3783 11.6596 14.2192 11.6596 13.8271C11.6596 13.6525 11.6098 13.5585 11.5535 13.4938C11.4864 13.4168 11.3706 13.3389 11.1871 13.2737C10.8068 13.1388 10.3172 13.1193 9.93644 13.1193C9.92418 13.1193 9.912 13.119 9.89992 13.1183C9.51855 13.1127 8.97554 13.0786 8.49483 12.8828C8.20621 12.7652 7.91004 12.578 7.68729 12.2777C7.46014 11.9716 7.34409 11.5945 7.34409 11.1616C7.34409 10.4165 7.62753 9.82374 8.18564 9.45167C8.53093 9.22147 8.94358 9.10216 9.37486 9.04909V8.75C9.37486 8.40482 9.65468 8.125 9.99986 8.125C10.345 8.125 10.6249 8.40482 10.6249 8.75Z"
fill={fill}
/>
</svg>
);
};
export default DonationBox;
|