mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Migration/AlertList: Migrates AlertList from AngularJS to React (#31872)
* Migration/AlertList: Migrates AlertList from AngularJS to React
This commit is contained in:
@@ -280,11 +280,17 @@ const Tags: FC<ChildProps> = ({ children, styles }) => {
|
||||
};
|
||||
Tags.displayName = 'Tags';
|
||||
|
||||
const Figure: FC<ChildProps & { align?: 'top' | 'center' }> = ({ children, styles, align = 'top' }) => {
|
||||
const Figure: FC<ChildProps & { align?: 'top' | 'center'; className?: string }> = ({
|
||||
children,
|
||||
styles,
|
||||
align = 'top',
|
||||
className,
|
||||
}) => {
|
||||
return (
|
||||
<div
|
||||
className={cx(
|
||||
styles?.media,
|
||||
className,
|
||||
align === 'center' &&
|
||||
css`
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user