diff --git a/superset-frontend/src/common/components/index.tsx b/superset-frontend/src/common/components/index.tsx index 7f1f1ed6b8642..9d56c97fb8446 100644 --- a/superset-frontend/src/common/components/index.tsx +++ b/superset-frontend/src/common/components/index.tsx @@ -52,6 +52,7 @@ export { Tooltip, Input as AntdInput, } from 'antd'; +export { Card as AntdCard } from 'antd'; export { TreeProps } from 'antd/lib/tree'; export { FormInstance } from 'antd/lib/form'; diff --git a/superset-frontend/src/components/ListViewCard/index.tsx b/superset-frontend/src/components/ListViewCard/index.tsx index 94f14a8e403ee..6243ae52bdb52 100644 --- a/superset-frontend/src/components/ListViewCard/index.tsx +++ b/superset-frontend/src/components/ListViewCard/index.tsx @@ -19,7 +19,7 @@ import React from 'react'; import { styled } from '@superset-ui/core'; import Icon from 'src/components/Icon'; -import { Card, Skeleton, ThinSkeleton } from 'src/common/components'; +import { AntdCard, Skeleton, ThinSkeleton } from 'src/common/components'; import { Tooltip } from 'src/common/components/Tooltip'; import ImageLoader, { BackgroundPosition } from './ImageLoader'; @@ -205,7 +205,7 @@ function ListViewCard({ } > {loading && ( - @@ -228,7 +228,7 @@ function ListViewCard({ /> )} {!loading && ( -