Export and Import vito settings (#606)

* Export and Import vito settings

* fix tests
This commit is contained in:
Saeed Vaziry
2025-06-05 17:01:22 +02:00
committed by GitHub
parent 8e8859b305
commit 4e6491a080
11 changed files with 314 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { SVGAttributes } from 'react';
import { Ref, SVGAttributes } from 'react';
export default function AppLogoIcon(props: SVGAttributes<SVGElement>) {
export default function AppLogoIcon(props: SVGAttributes<SVGElement> & { ref?: Ref<SVGSVGElement> }) {
return (
<svg {...props} viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1024" height="1024" rx="50" fill="#312E81" />

View File

@ -26,4 +26,8 @@ function CardFooter({ className, ...props }: React.ComponentProps<'div'>) {
return <div data-slot="card-footer" className={cn('flex items-center border-t p-4', className)} {...props} />;
}
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
function CardRow({ className, ...props }: React.ComponentProps<'div'>) {
return <div data-slot="card-row" className={cn('flex min-h-20 items-center justify-between p-4', className)} {...props} />;
}
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, CardRow };