UNPKG

@lax-wp/design-system

Version:

A comprehensive React + TypeScript design system built with Vite, providing reusable UI components for the LAX web portal applications. Features a complete set of form components, data display elements, and interactive controls with full TypeScript suppor

25 lines (24 loc) 627 B
/** * Format a boolean value to display text */ export declare const formatBooleanValue: (value: any) => string; /** * Format a currency value */ export declare const formatCurrency: (value: any, currencyCode?: string) => string; /** * Format a date value */ export declare const formatDate: (date?: string, config?: { format?: string; timezone?: string; relative?: boolean; withTime?: boolean; fallback?: string; skipTimezone?: boolean; onlyTime?: boolean; }) => string; /** * Check if a value is a valid ISO date string */ export declare const isISODateString: (value: string) => boolean;