blob: 1fdaf53595051a324863f1249ff3d3931aab1461 [file] [log] [blame]
import { TemplateResult } from 'lit/html.js';
import { isOneOfDomains } from './domains';
export function renderByDomain(template: TemplateResult, domains: string[]): TemplateResult | null {
return isOneOfDomains(domains) ? template : null;
}