Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.x] [Fix] Updated new polygon icon svg #1092

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7249,7 +7249,7 @@ exports[`OuiIcon props type polygon is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1 5V1h4v1.3h6V1h4v4h-2.934l-.808 1H12v4h-.76l.8 1H15v4h-4v-1.5H5V15H1v-4h1.5V5H1Zm1-3h2v2H2V2Zm9 10.5v-1.2L9.96 10H8V6h1.973L11 4.728V3.3H5V5H3.5v6H5v1.5h6ZM12 2h2v2h-2V2ZM4 12H2v2h2v-2Zm5-5h2v2H9V7Zm3 5h2v2h-2v-2Z"
d="M15 11v4h-4v-1.5H5V15H1v-4h1.5V5H1V1h4v1.3h6V1h4v4h-2.9l-.8 1h.7v4h-.8l.8 1h3zm-1 3v-2h-2v2h2zm0-10V2h-2v2h2zm-3 8.5v-1.2L10 10H8V6h2l1-1.3V3.3H5V5H3.5v6H5v1.5h6zM11 9V7H9v2h2zm-7 5v-2H2v2h2zM4 4V2H2v2h2z"
/>
</svg>
`;
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/assets/polygon.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const OuiIconPolygon = ({ title, titleId, ...props }) => (
aria-labelledby={titleId}
{...props}>
{title ? <title id={titleId}>{title}</title> : null}
<path d="M1 5V1h4v1.3h6V1h4v4h-2.934l-.808 1H12v4h-.76l.8 1H15v4h-4v-1.5H5V15H1v-4h1.5V5H1Zm1-3h2v2H2V2Zm9 10.5v-1.2L9.96 10H8V6h1.973L11 4.728V3.3H5V5H3.5v6H5v1.5h6ZM12 2h2v2h-2V2ZM4 12H2v2h2v-2Zm5-5h2v2H9V7Zm3 5h2v2h-2v-2Z" />
<path d="M15 11v4h-4v-1.5H5V15H1v-4h1.5V5H1V1h4v1.3h6V1h4v4h-2.9l-.8 1h.7v4h-.8l.8 1h3zm-1 3v-2h-2v2h2zm0-10V2h-2v2h2zm-3 8.5v-1.2L10 10H8V6h2l1-1.3V3.3H5V5H3.5v6H5v1.5h6zM11 9V7H9v2h2zm-7 5v-2H2v2h2zM4 4V2H2v2h2z" />
</svg>
);
export const icon = OuiIconPolygon;
3 changes: 2 additions & 1 deletion src/components/icon/assets/polygon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.