From 337693945fedb70ac45b0cc7e15af51ff2ed5f39 Mon Sep 17 00:00:00 2001 From: Yannick Date: Thu, 17 Nov 2022 13:58:25 +0100 Subject: [PATCH] Fix `sx` type --- src/ValkyrieIcon.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ValkyrieIcon.tsx b/src/ValkyrieIcon.tsx index 14f437d2..7af53439 100644 --- a/src/ValkyrieIcon.tsx +++ b/src/ValkyrieIcon.tsx @@ -1,5 +1,5 @@ import { ValkyrieIcon as IValkyrieIcon } from "./Valkyrie"; -import { Box } from "@mui/system"; +import { Box, SxProps } from "@mui/system"; import { keyframes } from "@emotion/react"; interface ValkyrieProps { @@ -7,7 +7,7 @@ interface ValkyrieProps { rotate?: 0 | 90 | 180 | 270 | false; flip?: true | "x" | "y" | false; spin?: boolean; - sx?: object | []; + sx?: SxProps; } export default function ValkyrieIcon({