mirror of
https://github.com/apache/superset.git
synced 2026-08-03 20:42:30 +00:00
refactor(Icons): Add typing support and improve structure (#32880)
This commit is contained in:
@@ -22,7 +22,7 @@ import { ErrorLevel, supersetTheme } from '@superset-ui/core';
|
||||
import BasicErrorAlert from './BasicErrorAlert';
|
||||
|
||||
jest.mock(
|
||||
'src/components/Icons/Icon',
|
||||
'src/components/Icons/AsyncIcon',
|
||||
() =>
|
||||
({ fileName }: { fileName: string }) => (
|
||||
<span role="img" aria-label={fileName.replace('_', '-')} />
|
||||
|
||||
Reference in New Issue
Block a user