diff --git a/src/components/my-component/my-component.tsx b/src/components/my-component/my-component.tsx index 56d51d9..8deec6e 100644 --- a/src/components/my-component/my-component.tsx +++ b/src/components/my-component/my-component.tsx @@ -7,6 +7,7 @@ import { format } from '../../utils/utils'; shadow: true, }) export class MyComponent { + static MyVar = 1; /** * The first name */ @@ -27,6 +28,6 @@ export class MyComponent { } render() { - return
Hello, World! I'm {this.getText()}
; + return
Hello, World! I'm {this.getText()} {MyComponent.MyVar}
; } }