Reactã§è¦ªã³ã³ãã¼ãã³ãããåã³ã³ãã¼ãã³ãã¸å¤ã渡ãã®ã¯ä»¥ä¸ã®ããããã°ååã ã£ãããåã³ã³ãã¼ãã³ããã親ã³ã³ãã¼ãã³ãã«å¤ã渡ãæ¹æ³ãããããªãã£ãã®ã§èª¿ã¹ã¦ã¿ãã import React from 'react'; const App = () => { const greeting = 'Hello Function Component!'; // åã³ã³ãã¼ãã³ãã«valueãã»ãã return <Headline value={greeting} />; } // valueãFunctionComponentã®å¼æ°ã¨ãã¦ä½¿ç¨ããè¨å® const Headline:React.FunctionComponent<{value: any}> = ({ value }) => { // valueã表示 return <h1>{value}</h1>; } export
{{#tags}}- {{label}}
{{/tags}}