We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb1daa commit 1dc4e6dCopy full SHA for 1dc4e6d
1 file changed
docs/lib/Components/AlertsPage.js
@@ -26,6 +26,24 @@ export default class AlertsPage extends React.Component {
26
</PrismCode>
27
</pre>
28
29
+ <h3>Properties</h3>
30
+ <pre>
31
+ <PrismCode className="language-jsx">
32
+{`Alert.propTypes = {
33
+ className: PropTypes.any,
34
+ color: PropTypes.string, // default: 'success'
35
+ isOpen: PropTypes.bool, // default: true
36
+ toggle: PropTypes.func,
37
+ tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
38
+
39
+ // Set any of the timeouts to 0 to disable animation
40
+ transitionAppearTimeout: PropTypes.number,
41
+ transitionEnterTimeout: PropTypes.number,
42
+ transitionLeaveTimeout: PropTypes.number
43
+}`}
44
+ </PrismCode>
45
+ </pre>
46
47
<h3>Dismissing</h3>
48
<div className="docs-example">
49
<AlertDismissExample />
0 commit comments