Skip to content

Commit

Permalink
docs(ui5-icon): update IconMode documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yanaminkova committed May 7, 2024
1 parent 7a0e84e commit 1275bc5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/main/src/types/IconMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@
*/
enum IconMode {
/**
* Image mode (by default)
* Image mode (by default).
* Configures the component to internally render role="img".
* @public
*/
Image = "Image",

/**
* Decorative mode
* Decorative mode.
* Configures the component to internally render role="button".
* This mode also supports focus and press handling to enhance interactivity.
* @public
*/
Decorative = "Decorative",

/**
* Interactive mode
* Interactive mode.
* Configures the component to internally render role="presentation" and aria-hidden="true",
* making it purely decorative without semantic content or interactivity.
* @public
*/
Interactive = "Interactive",
Expand Down

0 comments on commit 1275bc5

Please sign in to comment.