@tarojsx/ui
Version:
We reinvents the UI for Taro3+
84 lines (47 loc) • 1.72 kB
Markdown
---
id: "_avatar_.avatarprops"
title: "AvatarProps"
sidebar_label: "AvatarProps"
---
## Hierarchy
* **AvatarProps**
## Index
### Properties
* [circle](_avatar_.avatarprops.md#optional-circle)
* [className](_avatar_.avatarprops.md#optional-classname)
* [image](_avatar_.avatarprops.md#optional-image)
* [openData](_avatar_.avatarprops.md#optional-opendata)
* [size](_avatar_.avatarprops.md#optional-size)
* [style](_avatar_.avatarprops.md#optional-style)
* [text](_avatar_.avatarprops.md#optional-text)
## Properties
### `Optional` circle
• **circle**? : *boolean*
*Defined in [src/Avatar.tsx:12](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L12)*
___
### `Optional` className
• **className**? : *string*
*Defined in [src/Avatar.tsx:9](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L9)*
___
### `Optional` image
• **image**? : *string*
*Defined in [src/Avatar.tsx:14](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L14)*
___
### `Optional` openData
• **openData**? : *object*
*Defined in [src/Avatar.tsx:15](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L15)*
#### Type declaration:
* **lang**? : *OpenDataProps["lang"]*
* **type**: *"userAvatarUrl"*
___
### `Optional` size
• **size**? : *"tiny" | "mini" | "small" | "large"*
*Defined in [src/Avatar.tsx:11](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L11)*
___
### `Optional` style
• **style**? : *CSSProperties*
*Defined in [src/Avatar.tsx:10](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L10)*
___
### `Optional` text
• **text**? : *string*
*Defined in [src/Avatar.tsx:13](https://github.com/tarojsx/ui/blob/v0.11.0/src/Avatar.tsx#L13)*