From efdb8adab8c493b6d001c3330d8a651e439e82bd Mon Sep 17 00:00:00 2001 From: Gala Date: Tue, 9 Aug 2022 15:05:22 +0200 Subject: [PATCH] improve typing --- nym-wallet/src/components/NymCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nym-wallet/src/components/NymCard.tsx b/nym-wallet/src/components/NymCard.tsx index 295fa01fbc..8c91d5a06a 100644 --- a/nym-wallet/src/components/NymCard.tsx +++ b/nym-wallet/src/components/NymCard.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import { SxProps } from '@mui/material'; import { Box, Card, CardContent, CardHeader } from '@mui/material'; import { styled, Theme } from '@mui/material/styles'; import { Title } from './Title'; @@ -12,7 +13,7 @@ const CardContentNoPadding = styled(CardContent)(() => ({ export const NymCard: React.FC<{ title: string | React.ReactElement; - titleSx?: object; + titleSx?: SxProps; subheader?: string; Action?: React.ReactNode; Icon?: React.ReactNode;