Hiyve Components - v1.0.0
    Preparing search index...

    Customizable text labels for the LiveClock component.

    Enables full internationalization (i18n) support for the clock display.

    const customLabels: Partial<LiveClockLabels> = {
    formatTime: (date) => date.format('HH:mm:ss'),
    formatDate: (date) => date.format('DD/MM/YYYY'),
    };

    <LiveClock labels={customLabels} />
    interface LiveClockLabels {
        formatTime: (date: Dayjs) => string;
    }
    Index

    Properties

    Properties

    formatTime: (date: Dayjs) => string

    Function to format the time display. Receives a dayjs object and returns a formatted string. Default: 'MMMM D, YYYY h:mm:ss A' (e.g., "January 25, 2026 2:30:45 PM")