Skip to content

Commit 29a3aee

Browse files
Apply suggestions from code review
1 parent eaed9d1 commit 29a3aee

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

snaps/features/custom-ui/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ When the address is truncated, hovering over the address shows the full value in
7272

7373
- `address`: `string` - A valid Ethereum address, starting with `0x`, or a valid
7474
[CAIP-10](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-10.md) address.
75-
- `truncate`: `boolean` - (Optional) whether to truncate the address. Defaults to `true`.
76-
- `displayName`: `boolean` - (Optional) whether to display the internally saved account label in place of the address.
77-
Defaults to `true`.
78-
- `avatar`: `boolean` - (Optional) whether to show the address Jazzicon. Defaults to `true`.
75+
- `truncate`: `boolean` - (Optional) Whether to truncate the address. The default is `true`.
76+
- `displayName`: `boolean` - (Optional) Whether to display the internally saved account label in place of the address.
77+
The default is `true`.
78+
- `avatar`: `boolean` - (Optional) Whether to show the address Jazzicon. The default is `true`.
7979

8080
#### Example
8181

@@ -140,7 +140,7 @@ Outputs a [Jazzicon](https://www.npmjs.com/package/@metamask/jazzicon) for an ad
140140
#### Props
141141
142142
- `address`: `string` - A valid [CAIP-10](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-10.md) address.
143-
- `size`: `string` - (Optional) The size of the avatar. Can be `sm`, `md`, or `lg`. Defaults to `md`.
143+
- `size`: `string` - (Optional) The size of the avatar. Possible values are `"sm"`, `"md"`, and `"lg"`. The default is `"md"`.
144144
145145
:::note
146146
MetaMask automatically calculates checksums for EVM addresses (`eip155:`).
@@ -244,8 +244,8 @@ Outputs a box, which can be used as a container for other components.
244244
- `alignment` - (Optional) The alignment of the elements inside the box.
245245
Possible values are `"start"`, `"center"`, `"end"`, `"space-between"`, and `"space-around"`.
246246
The default is `"start"`.
247-
- `center`: `boolean` - (Optional) whether to center the children within the box.
248-
Defaults to `false`.
247+
- `center`: `boolean` - (Optional) Whether to center the children within the box.
248+
The default is `false`.
249249
250250
#### Example
251251
@@ -1184,9 +1184,9 @@ Outputs an animated loading container.
11841184

11851185
#### Props
11861186

1187-
- `width`: `Array<number | string>` - (Optional) width of the skeleton.
1188-
- `height`: `Array<number | string>` - (Optional) height of the skeleton.
1189-
- `borderRadius`: `string` - (Optional) radius of the corners, can be `none`, `medium` or `full`.
1187+
- `width`: `Array<number | string>` - (Optional) The width of the skeleton.
1188+
- `height`: `Array<number | string>` - (Optional) The height of the skeleton.
1189+
- `borderRadius`: `string` - (Optional) The radius of the corners. Possible values are `"none"`, `"medium"` or `"full"`.
11901190

11911191
#### Example
11921192

@@ -1247,7 +1247,7 @@ Outputs text.
12471247
Possible values are `"start"`, `"center"`, and `"end"`.
12481248
The default is `"start"`.
12491249
- `children` - The content to display.
1250-
This can include strings, [`Bold`](#bold), [`Italic`](#italic), [`Icon`](#icon), [`Link`](#link), and [`Skeleton`](#skeleton) components.
1250+
This can include strings, and [`Bold`](#bold), [`Italic`](#italic), [`Icon`](#icon), [`Link`](#link), and [`Skeleton`](#skeleton) components.
12511251

12521252

12531253
#### Example

0 commit comments

Comments
 (0)