feat(poc): add stencil boilerplate for bar-chart component
CI / lint-and-format (push) Failing after 34s
CI / changeset-check (push) Successful in 24s
CI / unit-tests (push) Successful in 30s
CI / component-tests (push) Successful in 35s

- Generated the bar chart component
- Showing it in storybook
- Added title as parameter for testing
This commit is contained in:
2026-09-17 17:40:26 +02:00
parent 47697eb744
commit 3ee26d1550
9 changed files with 165 additions and 124 deletions
@@ -0,0 +1,19 @@
import { Component, Host, Prop, h } from '@stencil/core';
@Component({
tag: 'bar-chart',
styleUrl: 'bar-chart.css',
shadow: true,
})
export class BarChart {
@Prop() title: string = "Hello World";
render() {
return (
<Host>
<slot>{this.title}</slot>
</Host>
);
}
}