feat(webapp): categorize the cashflow uncategorized transactions

This commit is contained in:
Ahmed Bouhuolia
2024-03-04 13:41:15 +02:00
parent 0273714a07
commit 9db03350e0
12 changed files with 439 additions and 36 deletions

View File

@@ -6,7 +6,6 @@ import { useUncontrolled } from '@/hooks/useUncontrolled';
const ContentTabsRoot = styled('div')`
display: flex;
gap: 10px;
`;
interface ContentTabItemRootProps {
active?: boolean;
@@ -62,9 +61,10 @@ const ContentTabsItem = ({
title,
description,
active,
onClick,
}: ContentTabsItemProps) => {
return (
<ContentTabItemRoot active={active}>
<ContentTabItemRoot active={active} onClick={onClick}>
<ContentTabTitle>{title}</ContentTabTitle>
<ContentTabDesc>{description}</ContentTabDesc>
</ContentTabItemRoot>
@@ -84,7 +84,7 @@ export function ContentTabs({
value,
onChange,
children,
className
className,
}: ContentTabsProps) {
const [localValue, handleItemChange] = useUncontrolled<string>({
initialValue,