import { html, nothing, type TemplateResult } from 'lit'; import type { NuiType } from '../../types/nui-type.js'; export interface NuiScrollPanelViewState { unstyled: boolean; scrollPanelClass: string; nuiType: NuiType; } export function renderScrollPanel( state: NuiScrollPanelViewState, ): TemplateResult { const getContainerClass = () => { return ['nui-scroll-panel', state.scrollPanelClass] .filter(Boolean) .join(' '); }; return html`