These are chat archives for AngularClass/NG6-starter

11th
Jun 2018
Caio Oliveira
@caiodesign
Jun 11 2018 15:07

Hello!! Does someone knows how to inject data into a component like props in React??

Ex.:
In Component Title:

// Title component
<h1 class="title>
    {this.props.children}
</h1>

In View:

<Title>Hello World!</Title>

Thanks!!!

Caio Oliveira
@caiodesign
Jun 11 2018 18:00
Nevermind... I get it already! Thanks!