Skip to content

Commit

Permalink
refactor(StyleWrapperEdit.jsx): replace deleteSVG icon with eraserSVG…
Browse files Browse the repository at this point in the history
… icon

feat(eraser.svg): add eraser icon to be used in StyleWrapperEdit component
  • Loading branch information
razvanMiu committed Apr 5, 2023
1 parent 06a29bd commit 62b83f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StyleWrapper/StyleWrapperEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Icon, SidebarPopup } from '@plone/volto/components';
import InlineForm from '@plone/volto/components/manage/Form/InlineForm';
import { StyleSchema } from './schema';
import clearSVG from '@plone/volto/icons/clear.svg';
import deleteSVG from '@plone/volto/icons/delete.svg';
import eraserSVG from '@eeacms/volto-block-style/icons/eraser.svg';

const StyleWrapperEdit = (props) => {
const {
Expand Down Expand Up @@ -68,7 +68,7 @@ const StyleWrapperEdit = (props) => {
<Icon name={clearSVG} size="24px" title="Close" />
</button>
<button onClick={deleteAllStyle} style={{ float: 'right' }}>
<Icon name={deleteSVG} size="24px" title="Delete block style" />
<Icon name={eraserSVG} size="24px" title="Delete block style" />
</button>
</>
}
Expand Down
3 changes: 3 additions & 0 deletions src/icons/eraser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 62b83f6

Please sign in to comment.