Enode — API Reference
    Preparing search index...
    • Parameters

      • __namedParameters: {
            clearable?: boolean;
            cleared?: boolean;
            decimalSeparator?: string;
            doneLabel?: string;
            floating?: boolean;
            hasNext?: boolean;
            hasPrev?: boolean;
            insight?: ReactNode;
            onDone: () => void;
            onKey: (key: MetricKey) => void;
            onNextField?: () => void;
            onPrevField?: () => void;
            placeholder?: string;
            spec: MetricKeyboardSpec;
            value: string;
        }
        • Optionalclearable?: boolean

          The field's value may be removed — keeps × enabled on an untouched field so it can enter the cleared state.

        • Optionalcleared?: boolean

          The stored value is pending removal (optional field, × pressed): the value row shows "—" instead of the placeholder until confirmed.

        • OptionaldecimalSeparator?: string
        • OptionaldoneLabel?: string
        • Optionalfloating?: boolean

          Always-floating surface (rounded on all corners, no safe-area pad) — for a contained preview. Otherwise: docked on phones, floating on wide screens.

        • OptionalhasNext?: boolean
        • OptionalhasPrev?: boolean
        • Optionalinsight?: ReactNode

          Optional information region rendered above the keys (e.g. load → VP).

        • onDone: () => void
        • onKey: (key: MetricKey) => void
        • OptionalonNextField?: () => void
        • OptionalonPrevField?: () => void
        • Optionalplaceholder?: string

          The existing value, shown muted as a reference while the draft is empty. Leaving the draft empty keeps this value (no change committed).

        • spec: MetricKeyboardSpec
        • value: string

          The current draft string — drives disabled keys and the overflow state.

      Returns Element