Skip to content

Commit

Permalink
feat(ui5-icon): use SVG icons instead of icon font (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelin authored and MapTo0 committed Jul 19, 2019
1 parent 0e976f8 commit b6352d8
Show file tree
Hide file tree
Showing 713 changed files with 5,054 additions and 371 deletions.
4 changes: 2 additions & 2 deletions docs/HowToUse.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ properties and attributes.
An example of such web component is the `ui5-icon`:

```html
<ui5-icon src="sap-icons://add"></ui5-icon>
<ui5-icon src="sap-icon://add"></ui5-icon>
```

The icon accepts no text or other HTML elements inside its opening and closing tags.
Therefore, in the next example, the text inside the `<ui5-icon>` will be ignored.

```html
<ui5-icon src="sap-icons://add">This is an icon</ui5-icon>
<ui5-icon src="sap-icon://add">This is an icon</ui5-icon>
```

Other UI5 Web Components, such as `<ui5-button>` accept text (and in addition HTML elements that make sense when writing text)
Expand Down
Loading

0 comments on commit b6352d8

Please sign in to comment.