You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/AsideHeader/README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,18 +176,19 @@ Top Alert can be useful for displaying important information that users need to
176
176
177
177
You can customize the inner content, make alert closeable if necessary. For reading top alert height see value from CSS variable `--gn-aside-top-panel-height`.
| actions | Array of buttons or full custom components |[`AlertActions`](https://github.com/gravity-ui/uikit/tree/main/src/components/Alert#properties)||
182
-
| centered | Centering all content |`boolean`|`false`|
183
-
| closable | Show close button and make possible to pass `onCloseTopAlert` prop |`boolean`|`false`|
| view | Enable/disable background color of the alert |[`AlertView`](https://github.com/gravity-ui/uikit/tree/main/src/components/Alert#view)|`"filled"`|
| actions | Array of buttons or full custom components |[`AlertActions`](https://github.com/gravity-ui/uikit/tree/main/src/components/Alert#properties)||
182
+
| centered | Centering all content |`boolean`|`false`|
183
+
| align | Determines how content inside the Alert component is vertically aligned |[`AlertAlign`](https://github.com/gravity-ui/uikit/tree/main/src/components/Alert#align)|`"baseline"`|
184
+
| closable | Show close button and make possible to pass `onCloseTopAlert` prop |`boolean`|`false`|
| view | Enable/disable background color of the alert |[`AlertView`](https://github.com/gravity-ui/uikit/tree/main/src/components/Alert#view)|`"filled"`|
0 commit comments