chore: enforce common prop typing style

This commit is contained in:
Ilia Mashkov
2026-05-23 13:06:56 +03:00
parent 7e87cbc3ae
commit 83ddd2724f
14 changed files with 28 additions and 28 deletions
@@ -1,6 +1,6 @@
import { Badge, Card, CardSidebar, CardTitle, RichText } from '$shared/ui';
type Props = {
export interface Props {
/**
* Job title
*/
@@ -25,7 +25,7 @@ type Props = {
* Additional CSS classes forwarded to the card
*/
className?: string;
};
}
/**
* Work experience card with sidebar layout.
@@ -2,7 +2,7 @@ import Image from 'next/image';
import { Card, RichText } from '$shared/ui';
import { ProjectMetadata } from '../ProjectMetadata/ProjectMetadata';
type Props = {
export interface Props {
/**
* Project name
*/
@@ -36,7 +36,7 @@ type Props = {
* @default false
*/
reverse?: boolean;
};
}
/**
* Full-width detailed project card with metadata sidebar.
@@ -1,7 +1,7 @@
import { cn } from '$shared/lib';
import { Badge, Button, Card, CardSidebar, CardTitle, ImageLightbox, RichText } from '$shared/ui';
type Props = {
export interface Props {
/**
* Project name
*/
@@ -32,7 +32,7 @@ type Props = {
* @default false
*/
priority?: boolean;
};
}
/**
* Project card with sidebar layout.
@@ -1,6 +1,6 @@
import { cn } from '$shared/lib';
type Props = {
export interface Props {
/**
* Project year
*/
@@ -17,7 +17,7 @@ type Props = {
* Additional CSS classes
*/
className?: string;
};
}
/**
* Sidebar metadata display for a project: year, role, and stack.