import { ReactNode } from 'react'
export interface TelephoneProps {
phoneNo?: string | number
phoneno?: string | number
value?: string | number
number?: string | number
telephone?: string | number
telephoneNumber?: string | number
shouldFormat?: boolean
shouldUseIcon?: boolean
renderIcon?: TelephoneRenderProp
// aliss
renderValue?: TelephoneRenderProp
render?: TelephoneRenderProp
children?: any
}
export interface TelephoneAttributes {
attributes?: TelephoneAttributesOrProps
//
render?: TelephoneRenderProp
renderIcon?: TelephoneRenderProp
shouldUseIcon?: boolean
className?: string
isLink?: boolean
to?: string
telephone?: string
}
export type TelephoneRenderProp = (props: TelephoneAttributesOrProps) => any
export type TelephoneAttributesOrProps = TelephoneProps | TelephoneAttributes