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

    Variable defaultLiveClockLabelsConst

    defaultLiveClockLabels: LiveClockLabels = ...

    Default labels for the LiveClock component.

    Use these defaults as a base for internationalization or custom time formatting.

    import { defaultLiveClockLabels, LiveClock } from '@hiyve/utilities';

    // 24-hour format
    const labels24h = {
    ...defaultLiveClockLabels,
    formatTime: (date) => date.format('YYYY-MM-DD HH:mm:ss'),
    };

    <LiveClock labels={labels24h} />