import { html, svg } from 'lit-html';
import { IColumns } from '../interfaces';
import { FreeGrid } from '..';
export function sorticonElement(_freeGrid: FreeGrid, col: IColumns) {
const ascTemplate = svg`
`;
const descTemplate = svg`
`;
if (col.sortable && col.sortable.sortNo) {
return html`
${col.sortable.sortAscending ? ascTemplate : descTemplate}
`;
} else {
return html``;
}
}