Skip to content

Commit 5ebb8a5

Browse files
author
Eric Olkowski
committed
Updated docs verbiage per Erin
1 parent 01d7775 commit 5ebb8a5

File tree

1 file changed

+3
-1
lines changed
  • packages/react-core/src/components/Alert/examples

1 file changed

+3
-1
lines changed

packages/react-core/src/components/Alert/examples/Alert.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import ServerIcon from '@patternfly/react-icons/dist/esm/icons/server-icon';
1515
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
1616
import buttonStyles from '@patternfly/react-styles/css/components/Button/button';
1717

18-
Micro-animations have been added for `Alert` components within an `AlertGroup`, which can be seen on all examples and demos where alerts are dynamically added. By default this is opt-in, as enabling animations may require updates to tests. You can pass the `hasAnimations` property to enable or disable the animations as needed. Additionally, with these animations enabled, we recommend you ensure that dynamically added alerts are prepended to a list of alerts, rather than appended to the end of it.
18+
Micro animations have been added for `<Alert>` components within an `<AlertGroup>`. By default, you must opt into animations, since they can require updates to tests. To enable or disable animations as needed, use the `hasAnimations` property. With animations enabled, we recommend you ensure that dynamically-added alerts are prepended to a list of alerts, rather than appended to the end of it.
19+
20+
Micro animations are turned on for all examples and demos where alerts are dynamically added.
1921

2022
## Alert examples
2123

0 commit comments

Comments
 (0)