improve typing

This commit is contained in:
Gala
2022-08-09 15:05:22 +02:00
parent e8632c3762
commit efdb8adab8
+2 -1
View File
@@ -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;