14 lines
424 B
TypeScript
14 lines
424 B
TypeScript
|
|
import { html, type TemplateResult } from '@design.estate/dees-element';
|
||
|
|
import type { DeesChartDonut } from './component.js';
|
||
|
|
|
||
|
|
export const renderChartDonut = (component: DeesChartDonut): TemplateResult => {
|
||
|
|
return html`
|
||
|
|
<dees-tile>
|
||
|
|
<div slot="header" class="chartHeader">
|
||
|
|
<span class="chartLabel">${component.label}</span>
|
||
|
|
</div>
|
||
|
|
<div class="chartContainer"></div>
|
||
|
|
</dees-tile>
|
||
|
|
`;
|
||
|
|
};
|