Skip to content

Commit 86616b7

Browse files
fix: Update button API docs (#3661)
1 parent 2481846 commit 86616b7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4218,7 +4218,7 @@ It prevents users from clicking the button, but it can still be focused.",
42184218
},
42194219
{
42204220
"description": "Attributes to add to the native \`a\` element (when \`href\` is provided).
4221-
Some attributes will be automatically combined with Cloudscape-provided attribute values:
4221+
Some attributes will be automatically combined with internal attribute values:
42224222
- \`className\` will be appended.
42234223
- Event handlers will be chained, unless the default is prevented.
42244224

@@ -4240,7 +4240,7 @@ We do not support using this attribute to apply custom styling.",
42404240
},
42414241
{
42424242
"description": "Attributes to add to the native \`button\` element.
4243-
Some attributes will be automatically combined with Cloudscape-provided attribute values:
4243+
Some attributes will be automatically combined with internal attribute values:
42444244
- \`className\` will be appended.
42454245
- Event handlers will be chained, unless the default is prevented.
42464246

@@ -20211,7 +20211,7 @@ It prevents users from clicking the button, but it can still be focused.",
2021120211
},
2021220212
{
2021320213
"description": "Attributes to add to the native \`a\` element (when \`href\` is provided).
20214-
Some attributes will be automatically combined with Cloudscape-provided attribute values:
20214+
Some attributes will be automatically combined with internal attribute values:
2021520215
- \`className\` will be appended.
2021620216
- Event handlers will be chained, unless the default is prevented.
2021720217

@@ -20233,7 +20233,7 @@ We do not support using this attribute to apply custom styling.",
2023320233
},
2023420234
{
2023520235
"description": "Attributes to add to the native \`button\` element.
20236-
Some attributes will be automatically combined with Cloudscape-provided attribute values:
20236+
Some attributes will be automatically combined with internal attribute values:
2023720237
- \`className\` will be appended.
2023820238
- Event handlers will be chained, unless the default is prevented.
2023920239

src/button/interfaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export interface BaseButtonProps {
104104

105105
/**
106106
* Attributes to add to the native `button` element.
107-
* Some attributes will be automatically combined with Cloudscape-provided attribute values:
107+
* Some attributes will be automatically combined with internal attribute values:
108108
* - `className` will be appended.
109109
* - Event handlers will be chained, unless the default is prevented.
110110
*
@@ -116,7 +116,7 @@ export interface BaseButtonProps {
116116

117117
/**
118118
* Attributes to add to the native `a` element (when `href` is provided).
119-
* Some attributes will be automatically combined with Cloudscape-provided attribute values:
119+
* Some attributes will be automatically combined with internal attribute values:
120120
* - `className` will be appended.
121121
* - Event handlers will be chained, unless the default is prevented.
122122
*

0 commit comments

Comments
 (0)