Add types

This commit is contained in:
Hristo Nedelkov 2023-11-13 23:23:24 +02:00
parent 9cc4658f3d
commit 05ecb38709

View File

@ -4,7 +4,12 @@ import IconText from '../../components/General/IconText'
import Icon from '../../components/General/Icon'
import DashboardCardWrapper from '../Dashboard/DashboardCardWrapper'
const LogsSumCard = () => {
type LogsSumCardProps = {
type: string
count: number
countActive?: number
countInactive?: number
}
const LogsSumCard = ({ type, count, countActive, countInactive }: LogsSumCardProps) => {
return (
<DashboardCardWrapper>