QSlot component
Examples
your component
import { QSlot, byProps } from 'QSlot' const Test = props => ( <div> hello <QSlot select={byProps("props.slot")} to={Header} content={props.children} /> </div>);
call your component
<Test> <div slot /> <div slot /></Test>
result
<div> hello <div> <header> Test </header> <header> Test </header> </div></div>