Skip to content

Commit

Permalink
docs(Avatar): fixes broken properties table (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent ebc7988 commit b8c9ed4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ showTabs: true
### `Avatar` properties

| Properties | Description |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `size` | _(optional)_ Size of the Avatar. Options: `small` \| `medium` \| `large` \| `x-large`. Defaults to `medium`. |
| `children` | _(optional)_ Content of the component. |
| `alt` | _(optional)_ Used in combination with `src` to provide an alt attribute for the `img` element. |
| `src` | _(optional)_ Specifies the path to the image |
| `skeleton` | _(optional)_ Applies loading skeleton. |
| `imgProps` | _(optional)_ [Image properties](/uilib/elements/image) applied to the `img` element if the component is used to display an image. |
| `variant` | _(optional)_ Override the variant of the component. Options: `primary` \| `secondary` \| |
| `hasLabel` | _(optional)_ If aria-hidden is set to "true" or if a label is given, typical inside a table or dl (definition list), then you can disable Avatar.Group as a dependent of Avatar. Use `true` to omit the `Avatar group required:` warning. | `tertiary`. Defaults to `primary`. |
| `variant` | _(optional)_ Override the variant of the component. Options: `primary` \| `secondary` \| `tertiary`. Defaults to `primary`. |
| `hasLabel` | _(optional)_ If aria-hidden is set to "true" or if a label is given, typical inside a table or dl (definition list), then you can disable Avatar.Group as a dependent of Avatar. Use `true` to omit the `Avatar group required:` warning. |
| `className` | _(optional)_ Custom className for the component root. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |

Expand Down

0 comments on commit b8c9ed4

Please sign in to comment.