Files
2026-02-02 08:13:15 +07:00

23 lines
405 B
TypeScript

// Common types used across the application
export type PageMode = 'create' | 'edit' | 'view';
export interface Props {
readonly?: boolean;
}
export interface Header {
title: string;
key: string;
sortable?: boolean;
width?: string;
align?: 'start' | 'center' | 'end';
}
export interface Action {
icon: string;
color?: string;
tooltip?: string;
event: string;
}