Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / @skava/ui   js

Repository URL to install this package:

Version: 4.2.0-a11y.0 

/ src / components / molecules / Telephone / typings.ts

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