File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/snaps-sdk/src/jsx/components Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { createSnapComponent } from '../component';
66 * The props of the {@link Avatar} component.
77 *
88 * @property address - The address to display. This should be a valid CAIP-10 address.
9+ * @property size - The size of the avatar. Can be `sm`, `md`, or `lg`. Defaults to `md`.
910 */
1011export type AvatarProps = {
1112 address : CaipAccountId ;
@@ -21,6 +22,7 @@ const TYPE = 'Avatar';
2122 *
2223 * @param props - The props of the component.
2324 * @param props.address - The address to display. This should be a valid CAIP-10 address.
25+ * @param props.size - The size of the avatar. Can be `sm`, `md`, or `lg`. Defaults to `md`.
2426 * @returns An avatar element.
2527 * @example
2628 * <Avatar address="eip155:1:0x1234567890123456789012345678901234567890" />
You can’t perform that action at this time.
0 commit comments