// 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;
}
