• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
W
W
Wasya UK2018-11-24 16:33:28
React
Wasya UK, 2018-11-24 16:33:28

How to embed in your component in React?

How can you make such a structure?

return (
  <MyCom><span>Some text</span></MyCom>
)

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
W
Wasya UK, 2018-11-24
@dmc1989

{this.props.children}

Similar questions
W
Webgreen Prototype2019-10-17 15:41:42
Have I written the html and css in BEM correctly? 2Reply
E
Evgeny19982021-11-12 17:50:49
How to deploy a React app on your own server? 1Reply
A
anriko2021-11-14 01:06:16
Why doesn't simulate('change', { target: { value: 'test name' } }) work? 0Reply
A
anriko2021-11-14 12:47:24
Why jest and enzyme don't see ref in component? 1Reply
B
Boris the Animal2020-08-06 12:22:11
Why is the React application not displayed in Internet Explorer 11 and does not write any errors to the console? 0Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners