{"id":11579,"date":"2025-02-05T12:15:15","date_gmt":"2025-02-05T09:15:15","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/"},"modified":"2025-02-05T12:15:15","modified_gmt":"2025-02-05T09:15:15","slug":"react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/","title":{"rendered":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi"},"content":{"rendered":"<p><body><\/p>\n<p>React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi<\/p>\n<p>Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript&#8217;e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z.  \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z.  Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z.  Ayr\u0131ca,  performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.<\/p>\n<h2>JavaScript Bile\u015feni<\/h2>\n<p>\u00d6ncelikle, basit bir WhatsApp sohbet butonu i\u00e7in bir JavaScript bile\u015feni olu\u015ftural\u0131m. Bu bile\u015fen, t\u0131kland\u0131\u011f\u0131nda WhatsApp&#8217;a y\u00f6nlendirecek bir ba\u011flant\u0131 i\u00e7erecektir.<\/p>\n<pre><code class=\"language-javascript\">\nfunction WhatsAppButton() {\n  return (\n    &lt;a href=\"https:\/\/wa.me\/905XXXXXXXXX\" target=\"_blank\" rel=\"noopener noreferrer\"&gt;\n      &lt;button&gt;WhatsApp'ta Sohbet Et&lt;\/button&gt;\n    &lt;\/a&gt;\n  );\n}\n\nexport default WhatsAppButton;\n<\/code><\/pre>\n<p>Yukar\u0131daki kodda,  <code>export default WhatsAppButton<\/code> sat\u0131r\u0131, bile\u015fenin d\u0131\u015far\u0131dan eri\u015filebilir olmas\u0131n\u0131 sa\u011flar.  Bu,  di\u011fer bile\u015fenlerde veya uygulaman\u0131z\u0131n ana b\u00f6l\u00fcm\u00fcnde bu bile\u015feni kullanabilmenizi m\u00fcmk\u00fcn k\u0131lar.  Burada kullan\u0131lan y\u00f6ntem, bile\u015fenin varsay\u0131lan exportudur. Ba\u015fka bir deyi\u015fle,  bile\u015feni import ederken \u00f6zel bir isim belirtmenize gerek kalmaz.<\/p>\n<h2>TypeScript&#8217;e D\u00f6n\u00fc\u015f\u00fcm<\/h2>\n<p>\u015eimdi, JavaScript bile\u015fenimizi TypeScript&#8217;e d\u00f6n\u00fc\u015ft\u00fcrelim.  Bu,  kodumuzun daha g\u00fcvenilir ve bak\u0131m\u0131 daha kolay hale gelmesini sa\u011flayacakt\u0131r.  TypeScript,  statik tip kontrol\u00fc sa\u011flayarak,  derleme zaman\u0131nda hatalar\u0131n yakalanmas\u0131na yard\u0131mc\u0131 olur.<\/p>\n<pre><code class=\"language-typescript\">\nimport React from 'react';\n\ninterface WhatsAppButtonProps {\n  phoneNumber: string;\n}\n\nconst WhatsAppButton: React.FC&lt;WhatsAppButtonProps&gt; = ({ phoneNumber }) => {\n  return (\n    &lt;a href={https:\/\/wa.me\/${phoneNumber}} target=\"_blank\" rel=\"noopener noreferrer\"&gt;\n      &lt;button&gt;WhatsApp'ta Sohbet Et&lt;\/button&gt;\n    &lt;\/a&gt;\n  );\n};\n\nexport default WhatsAppButton;\n<\/code><\/pre>\n<p>TypeScript&#8217;te,  <code>interface<\/code> kullanarak bile\u015fenimize bir aray\u00fcz tan\u0131mlar\u0131z.  Bu aray\u00fcz,  bile\u015fenimize hangi \u00f6zellikleri (props) iletebilece\u011fimizi belirler.  Ayr\u0131ca,  <code>React.FC<\/code> kullanarak fonksiyonel bile\u015fenimizin React fonksiyonel bile\u015feni oldu\u011funu belirtiriz.  Bu sayede TypeScript,  React&#8217;in sundu\u011fu otomatik tamamlama ve hata kontrol\u00fc \u00f6zelliklerinden faydalanmam\u0131z\u0131 sa\u011flar.  Ayr\u0131ca,  telefon numaras\u0131n\u0131 props olarak alarak,  bile\u015fenin daha esnek olmas\u0131n\u0131 sa\u011flad\u0131k.<\/p>\n<h2>Farkl\u0131 Export Y\u00f6ntemleri<\/h2>\n<p>React bile\u015fenlerini export etmenin farkl\u0131 y\u00f6ntemleri vard\u0131r.  \u00d6rne\u011fin,  birden fazla bile\u015fen export etmek isteyebilirsiniz. Bu durumda,  <code>export<\/code> anahtar kelimesini her bile\u015fen i\u00e7in ayr\u0131 ayr\u0131 kullanabilirsiniz:<\/p>\n<pre><code class=\"language-typescript\">\nexport const Button = () => &lt;button&gt;Button&lt;\/button&gt;;\nexport const Input = () => &lt;input type=\"text\" \/&gt;;\n<\/code><\/pre>\n<p>Bu y\u00f6ntem,  ihtiyac\u0131n\u0131za g\u00f6re daha d\u00fczenli bir yap\u0131 olu\u015fturman\u0131za olanak tan\u0131r. Her bile\u015feni ayr\u0131 ayr\u0131 import edebilirsiniz.  Ancak,  varsay\u0131lan export tek bir bile\u015fen i\u00e7in daha temiz bir yakla\u015f\u0131md\u0131r.  Hangisini kullanaca\u011f\u0131n\u0131z projenizin yap\u0131s\u0131na ve tercihlerinize ba\u011fl\u0131d\u0131r.<\/p>\n<h2>Sonu\u00e7<\/h2>\n<p>Bu makalede, React bile\u015fenlerinin export i\u015flemleri ve TypeScript&#8217;e d\u00f6n\u00fc\u015ft\u00fcr\u00fclmesi hakk\u0131nda detayl\u0131 bir bak\u0131\u015f sunduk.  Basit bir WhatsApp sohbet butonu \u00f6rne\u011fiyle,  farkl\u0131 export y\u00f6ntemlerini ve TypeScript&#8217;in faydalar\u0131n\u0131 g\u00f6sterdik.  Umar\u0131m bu bilgiler,  React geli\u015ftirme s\u00fcrecinizde size yard\u0131mc\u0131 olmu\u015ftur. Daha fazla bilgi i\u00e7in <a href=\"https:\/\/fatihsoysal.com\">fatihsoysal.com<\/a> adresini ziyaret edebilirsiniz. <\/p>\n<p>Faydal\u0131 bulabilece\u011finiz di\u011fer kaynaklar: <\/p>\n<ul>\n<li><a href=\"https:\/\/reactjs.org\/docs\/typescript.html\">React&#8217;in TypeScript d\u00f6k\u00fcmanlar\u0131<\/a><\/li>\n<li><a href=\"https:\/\/www.typescriptlang.org\/\">TypeScript resmi sitesi<\/a><\/li>\n<\/ul>\n<p>#Etiketler: React, TypeScript, Bile\u015fen Export, WhatsApp, Sohbet Butonu, JavaScript, Programlama, Web Geli\u015ftirme,  React Bile\u015fenleri,  TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc,  Export Y\u00f6ntemleri,  Fonksiyonel Bile\u015fenler,  Interface,  Props<br \/>\n<\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-11579","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi<\/title>\n<meta name=\"description\" content=\"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript&#039;e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi\" \/>\n<meta property=\"og:description\" content=\"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript&#039;e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-05T09:15:15+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi\",\"datePublished\":\"2025-02-05T09:15:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\"},\"wordCount\":521,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\",\"name\":\"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-02-05T09:15:15+00:00\",\"description\":\"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript'e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi","description":"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript'e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/","og_locale":"tr_TR","og_type":"article","og_title":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi","og_description":"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript'e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.","og_url":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-02-05T09:15:15+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi","datePublished":"2025-02-05T09:15:15+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/"},"wordCount":521,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/","url":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/","name":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-02-05T09:15:15+00:00","description":"Bu makalede, React bile\u015fenlerinin farkl\u0131 y\u00f6ntemlerle nas\u0131l export edilece\u011fini ve mevcut bir JavaScript bile\u015fenini TypeScript'e nas\u0131l d\u00f6n\u00fc\u015ft\u00fcrece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. \u00d6rnek olarak, basit bir WhatsApp sohbet butonu bile\u015feni kullanaca\u011f\u0131z. Bu d\u00f6n\u00fc\u015f\u00fcm s\u00fcrecinde kar\u015f\u0131la\u015fabilece\u011finiz yayg\u0131n sorunlar\u0131 ve \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ele alaca\u011f\u0131z. Ayr\u0131ca, performans ve kod okunabilirli\u011fi gibi \u00f6nemli hususlara da de\u011finece\u011fiz.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/react-bilesenlerinde-export-ve-typescript-donusumu-whatsapp-sohbet-butonu-ornegi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"React Bile\u015fenlerinde Export ve TypeScript D\u00f6n\u00fc\u015f\u00fcm\u00fc: WhatsApp Sohbet Butonu \u00d6rne\u011fi"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/11579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=11579"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/11579\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=11579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=11579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=11579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}