UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

13 lines (12 loc) 705 B
import type { NumberFormatAllProps, NumberFormatLink } from './NumberFormatBase'; export type NumberFormatPhoneNumberProps = Omit<NumberFormatAllProps, 'currency' | 'currencyDisplay' | 'currencyPosition' | 'compact' | 'decimals' | 'rounding' | 'signDisplay'> & { /** * Use `tel` (default) or `sms` to enable a clickable / touchable anchor link. Only available on `NumberFormat.PhoneNumber`. */ link?: NumberFormatLink | true; }; declare function NumberFormatPhoneNumber({ link, className, ...rest }: NumberFormatPhoneNumberProps): import("react/jsx-runtime").JSX.Element; declare namespace NumberFormatPhoneNumber { var displayName: string; } export default NumberFormatPhoneNumber;