Here is a table specifying the props for a component for rendering Avatar:
Name | Type | Default Value | Description |
---|
isActive | boolean | | Indicates whether the user is online or offline. Used to display a lightgreen color border if active or lightgrey color border if inactive. |
size | number | 90 | Sets the size of the avatar. The value is used to set the width and height of the image tag. |
shape | string | "circle" | Sets the border radius of the avatar. Possible values: "square", "rounded", "circle". |
imageUrl | string | | URL of the image to be displayed in the avatar. |
userName | string | "Oliver" | Used to display alt text if the image URL is broken. |
Your task is to modify the codeblock based on the above requirements.
The output should look like the image given below.