# give/4.18.0/src/Campaigns/Blocks/shared/components/ModalForm/ModalClose.tsx

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 25 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/Campaigns/Blocks/shared/components/ModalForm/ModalClose.tsx
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/Campaigns/Blocks/shared/components/ModalForm/ModalClose.tsx
- Modified: 2025-05-21T20:18:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/Campaigns/Blocks/shared/components/ModalForm/ModalClose.tsx#L10-L20`.

```tsx
import {Path, SVG} from '@wordpress/components';

/**
 * @unreleasaed
 */
export default function ModalCloseIcon() {
    return (
        <SVG
            className="givewp-donation-form-modal__close__icon"
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
            width="24"
            height="24"
            aria-hidden="true"
            focusable="false"
        >
            <Path
                stroke="black"
                strokeWidth="2"
                d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
            ></Path>
        </SVG>
    );
}

```
