Files
LUNA-Charts/packages/luna-charts/src/components/charts/bar-chart/bar-chart.tsx
T
Ninosaurier 20a1f89030
CI / lint-and-format (push) Successful in 35s
CI / changeset-check (push) Successful in 30s
CI / unit-tests (push) Successful in 40s
CI / component-tests (push) Successful in 34s
CI / lint-and-format (pull_request) Successful in 43s
CI / changeset-check (pull_request) Successful in 32s
CI / unit-tests (pull_request) Successful in 35s
CI / component-tests (pull_request) Successful in 34s
fix(format): Removed all prettier errors and changed stencil configuration
- stencil does not generate a readme.md in every component. The option was disabled in the configuration
- Fixed all prettier errors
2026-10-05 18:37:24 +02:00

19 lines
306 B
TypeScript

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>
);
}
}