Skip to content

Commit dec2c9b

Browse files
committed
docs: update README.md to reflect changes in alert button configuration, allowing for custom button properties
1 parent 1260a9c commit dec2c9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,10 @@ type AlertConfig = {
435435
// Default title for confirm dialogs
436436
title?: string;
437437
// Default button texts for confirm dialogs
438-
buttons?: string[];
438+
buttons?: {
439+
text: string;
440+
customProps?: AlertButtonCustomProps;
441+
}[];
439442
};
440443

441444
// Global icon configuration

0 commit comments

Comments
 (0)