react component arguments code example
Example: react js component parameters
import TitleLine from '../components/title-line'
import '../assets/style/components/_line.scss'
function Line(props) {
console.log('ropiedades: ', props);
return (
<div>
<TitleLine header={props}/>
</div>
);
}
export default Line;