Skip to content

Commit a1dedd1

Browse files
authored
Example of how to use icon expressions
1 parent e1f9e6d commit a1dedd1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/classic-ui/icons.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,14 @@ To use a different icon than the system default, you can override the registrati
6767

6868
## Icon expression
6969

70-
```{todo}
71-
How does this work? We need an example here!
72-
```
73-
74-
- The field `icon_expression` is used again to define icons for actions, content types, and other purposes.
70+
- The field `icon_expr` is used again to define icons for actions, content types, and other purposes.
7571
- Use the icon name for icon expressions.
7672

73+
Example:
74+
75+
```xml
76+
<property name="icon_expr">string:list-check</property>
77+
```
7778

7879
(classic-ui-icons-icon-resolver-label)=
7980

0 commit comments

Comments
 (0)