Skip to content

Commit 3667153

Browse files
committed
Update demo-app to actually include a {{yield}}
1 parent e0211c0 commit 3667153

File tree

1 file changed

+9
-2
lines changed
  • test-packages/demo-app/src

1 file changed

+9
-2
lines changed

test-packages/demo-app/src/App.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@ export default class App extends Component {
1212
<img src={{this.logo}}/>
1313
1414
<GreetingHeader @greeting="hello" @target="glint" />
15-
<h3>
15+
16+
<SubHeader>
1617
you can get started by editing <code>src/App.js</code>,
1718
and run tests by visiting <a href="./tests">/tests</a>
18-
</h3>
19+
</SubHeader>
1920
</div>
2021
`;
2122
}
23+
24+
class SubHeader extends Component<{}, { default: [] }> {
25+
public static template = hbs`
26+
<h3>{{yield}}</h3>
27+
`;
28+
}

0 commit comments

Comments
 (0)