From cff0ac80c19cc1c97d672cdadc433c85766db253 Mon Sep 17 00:00:00 2001 From: ossan-engineer Date: Mon, 11 Feb 2019 21:00:20 +0900 Subject: [PATCH 01/10] Translate faq-functions --- content/docs/faq-functions.md | 101 +++++++++++++++++----------------- 1 file changed, 51 insertions(+), 50 deletions(-) diff --git a/content/docs/faq-functions.md b/content/docs/faq-functions.md index 62067d39c..d38f14f55 100644 --- a/content/docs/faq-functions.md +++ b/content/docs/faq-functions.md @@ -1,26 +1,26 @@ --- id: faq-functions -title: Passing Functions to Components +title: コンポーネントに関数を渡す permalink: docs/faq-functions.html layout: docs category: FAQ --- -### How do I pass an event handler (like onClick) to a component? {#how-do-i-pass-an-event-handler-like-onclick-to-a-component} +### コンポーネントに(onClick のような)イベントハンドラを渡すには? {#how-do-i-pass-an-event-handler-like-onclick-to-a-component} -Pass event handlers and other functions as props to child components: +イベントハンドラやその他の関数を props として、子コンポーネントに渡してください。 ```jsx