File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-core/src/demos/examples/AlertGroup Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrap
3939interface NotificationProps {
4040 title : string ;
4141 srTitle : string ;
42- variant : 'default ' | 'success' | 'danger' | 'warning' | 'info' ;
42+ variant : 'custom ' | 'success' | 'danger' | 'warning' | 'info' ;
4343 key : React . Key ;
4444 timestamp : string ;
4545 description : string ;
@@ -345,8 +345,8 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
345345 < Button variant = "secondary" onClick = { ( ) => addNewNotification ( 'warning' ) } style = { alertButtonStyle } >
346346 Add toast warning alert
347347 </ Button >
348- < Button variant = "secondary" onClick = { ( ) => addNewNotification ( 'default ' ) } style = { alertButtonStyle } >
349- Add toast default alert
348+ < Button variant = "secondary" onClick = { ( ) => addNewNotification ( 'custom ' ) } style = { alertButtonStyle } >
349+ Add toast custom alert
350350 </ Button >
351351 </ PageSection >
352352
You can’t perform that action at this time.
0 commit comments