UNPKG

jabb-astro-components

Version:
38 lines (36 loc) 1.06 kB
export {}; declare global { /** * @description Designed alerts for any purpose */ namespace Advices { /** * @description Static announcement in a particular page * @param title - Text bigger than the rest * @param message - Normal text * @param color - Stylish * @example color : { border-${color}-200, bg-${color}-50, text-${color}-700, text-${color}-600 } */ export interface Advice { title: string; message: string; color: { border: string; bg: string; title: string; message: string; }; className?: string; } /** * @param id - Unique identifier * @param title - Text bigger than the rest * @param message - Normal text */ type BlockAdvice = { id: string; title: string; message: string; }; } }