Skip to content

Commit f7cc3b1

Browse files
committed
Cleanup
Remove erroneous message about Address tooltip Make checkbox variant prop description match style of document. Make Skeleton defaults descriptions match style of document.
1 parent 9114650 commit f7cc3b1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

snaps/features/custom-ui/index.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ The following custom UI components are available:
6565

6666
Outputs a formatted text field for a blockchain address.
6767
The address is automatically displayed with a [Jazzicon](https://www.npmjs.com/package/@metamask/jazzicon)
68-
and truncated value.
69-
When the address is truncated, hovering over the address shows the full value in a tooltip.
68+
and truncated value.
7069

7170
#### Props
7271

@@ -396,8 +395,7 @@ Outputs a checkbox for use in [interactive UI](interactive-ui.md).
396395
- `name`: `string` - The name sent to [`onUserInput`](../../reference/entry-points.md#onuserinput).
397396
- `checked`: `boolean` - (Optional) Whether the checkbox is checked.
398397
- `label`: `string` - (Optional) The label for the checkbox.
399-
- `variant` - (Optional) The variant of the checkbox.
400-
Possible values are `"default"` and `"toggle"`.
398+
- `variant` - (Optional) The variant of the checkbox. Possible values are `"default"` and `"toggle"`.
401399
The default is `"default"`.
402400
403401
#### Example
@@ -1184,10 +1182,10 @@ Outputs an animated loading container.
11841182

11851183
#### Props
11861184

1187-
- `width`: `Array<number | string>` - (Optional) The width of the skeleton. Defaults to `"100%"`.
1188-
- `height`: `Array<number | string>` - (Optional) The height of the skeleton. Defaults to `22`.
1185+
- `width`: `Array<number | string>` - (Optional) The width of the skeleton. The default is `"100%"`.
1186+
- `height`: `Array<number | string>` - (Optional) The height of the skeleton. The default is `22`.
11891187
- `borderRadius`: `string` - (Optional) The radius of the corners. Possible values are `"none"`, `"medium"` or `"full"`.
1190-
Defaults to `"medium"`.
1188+
The default is `"medium"`.
11911189

11921190
#### Example
11931191

0 commit comments

Comments
 (0)