Skip to content

Commit 10536f4

Browse files
authored
fix(toast): use className for react examples (#3571)
1 parent b8dc238 commit 10536f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

static/usage/v7/toast/theming/react/main_tsx.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function Example() {
1212
trigger="open-toast"
1313
duration={3000}
1414
message="Hello Styled World!"
15-
class="custom-toast"
15+
className="custom-toast"
1616
buttons={[
1717
{
1818
text: 'Dismiss',

static/usage/v8/toast/theming/react/main_tsx.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function Example() {
1212
trigger="open-toast"
1313
duration={3000}
1414
message="Hello Styled World!"
15-
class="custom-toast"
15+
className="custom-toast"
1616
buttons={[
1717
{
1818
text: 'Dismiss',

0 commit comments

Comments
 (0)