mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-27 12:51:41 +00:00
add svgr plugin for svg as ReactComponent
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
import CancelIcon from "images/cancel.svg";
|
||||
import CheckIcon from "images/check-disabled.svg"; // need to revert hardikn
|
||||
import CheckIcon from "images/check1.svg";
|
||||
import DeleteIcon from "images/delete.svg";
|
||||
import EditIcon from "images/Edit_entity.svg";
|
||||
import * as React from "react";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
import LoaderIcon from "images/circular_loader_black_16x16.gif";
|
||||
import ClearIcon from "images/Clear-disabled.svg"; // need to revert hardikn
|
||||
import { ReactComponent as ClearIcon } from "images/Clear1.svg";
|
||||
import ErrorBlackIcon from "images/error_black.svg";
|
||||
import ErrorRedIcon from "images/error_red.svg";
|
||||
import infoBubbleIcon from "images/info-bubble-9x9.svg";
|
||||
@@ -179,7 +179,7 @@ export class NotificationConsoleComponent extends React.Component<
|
||||
onKeyDown={(event: React.KeyboardEvent<HTMLSpanElement>) => this.onClearNotificationsKeyPress(event)}
|
||||
tabIndex={0}
|
||||
>
|
||||
<img src={ClearIcon} alt="clear notifications image" />
|
||||
<ClearIcon />
|
||||
Clear Notifications
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user