Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / components / molecules / Telephone / renderProps.tsx
Size: Mime:
import React from 'react'
import { MaterialIcon } from 'atoms/MaterialIcon'
import { StyledTelephoneValue } from './styled'
import { TelephoneAttributesOrProps } from './typings'

function renderIcon(props: TelephoneAttributesOrProps) {
  return props.shouldUseIcon && <MaterialIcon type="call" key="telephoneicon" />
}

function renderValue(props: TelephoneAttributesOrProps) {
  return <StyledTelephoneValue {...props} />
}

export { renderIcon, renderValue }