tel: link).phone to create a <a> element with an appropriate href attribute.children as its content.const Callto = ({ phone, children }) => {
  return <a href={`tel:${phone}`}>{children}</a>;
};ReactDOM.render( <Callto phone="+302101234567">Call me!</Callto>, document.getElementById('root') );
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️