Answer the question
In order to leave comments, you need to log in
Is it possible to add components to the parameters of a used React component?
There is a component that is defined in the lib and we specify the data during initialization
<PageHeaderWrapper
title={`Playlist: ${playlist.name}` }
content={<PlaylistInfo playlist={playlist}/>}
>
<Icon type="edit" />
Answer the question
In order to leave comments, you need to log in
<PageHeaderWrapper
title={
<>
<span>{`Playlist: ${playlist.name}`}</span>
<Icon type="edit" />
</>
}
content={<PlaylistInfo playlist={playlist}/>}
>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question