Feat: Add Dataset page #3221 (#3721)

### What problem does this PR solve?

Feat: Add Dataset page #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-11-28 18:44:36 +08:00
committed by GitHub
parent cdae8d28fe
commit 4e8e4fe53f
8 changed files with 351 additions and 25 deletions

View File

@ -0,0 +1,25 @@
import { Filter, Search } from 'lucide-react';
import { PropsWithChildren } from 'react';
import { Button } from './ui/button';
interface IProps {
title: string;
}
export default function ListFilterBar({
title,
children,
}: PropsWithChildren<IProps>) {
return (
<div className="flex justify-between mb-6">
<span className="text-3xl font-bold ">{title}</span>
<div className="flex gap-4 items-center">
<Filter className="size-5" />
<Search className="size-5" />
<Button variant={'tertiary'} size={'sm'}>
{children}
</Button>
</div>
</div>
);
}