mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 22:26:01 +00:00
used mdi icons instead of font awesome
This commit is contained in:
@@ -19,11 +19,11 @@ const ContainerSmall = styled.div`
|
||||
margin-right: 10px;
|
||||
`;
|
||||
|
||||
export default function ErrorInfo({ message, icon = 'fas fa-times-circle red', isSmall = false }) {
|
||||
export default function ErrorInfo({ message, icon = 'mdi mdi-close-circle color-red', isSmall = false }) {
|
||||
if (isSmall) {
|
||||
return (
|
||||
<ContainerSmall>
|
||||
<FontIcon icon={icon} />
|
||||
<span className={icon} />
|
||||
{message}
|
||||
</ContainerSmall>
|
||||
);
|
||||
@@ -31,7 +31,7 @@ export default function ErrorInfo({ message, icon = 'fas fa-times-circle red', i
|
||||
return (
|
||||
<Container>
|
||||
<Icon>
|
||||
<FontIcon icon={icon} />
|
||||
<span className={icon} />
|
||||
</Icon>
|
||||
{message}
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user