2021-07-20 Reactの子要素出力 Reactの子要素出力(Containment) childrenという特別なprops 受け取った子要素を出力する SidebarやDialogのような汎用的な”入れ物”を表すコンポーネントでよく使われる const Auth = ({children}) => { return children }; export default Auth;