-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A4A: Add "share details" content to the Connection Card (#36729)
- Loading branch information
1 parent
b5a0b5b
commit 9ffe342
Showing
8 changed files
with
512 additions
and
87 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...lugins/automattic-for-agencies-client/changelog/add-share-details-info-to-connection-card
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,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Added details about sharing information with Automattic to the connection card. |
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
30 changes: 30 additions & 0 deletions
30
projects/plugins/automattic-for-agencies-client/src/js/components/close-icon/index.jsx
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,30 @@ | ||
import { Path, SVG } from '@wordpress/components'; | ||
import React from 'react'; | ||
|
||
/** | ||
* Close icon component | ||
* | ||
* @param {object} props - Component props | ||
* @param {string} props.color - Color code for the icon | ||
* @returns {React.ReactElement} Component template | ||
*/ | ||
export default function CloseIcon( { color = '#D63638' } ) { | ||
return ( | ||
<SVG | ||
clipRule="evenodd" | ||
fillRule="evenodd" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<Path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M12 13.0607L15.7123 16.773L16.773 15.7123L13.0607 12L16.773 8.28772L15.7123 7.22706L12 10.9394L8.28771 7.22705L7.22705 8.28771L10.9394 12L7.22706 15.7123L8.28772 16.773L12 13.0607Z" | ||
fill={ color } | ||
/> | ||
</SVG> | ||
); | ||
} |
Oops, something went wrong.