Sign in
skia
/
buildbot
/
606ae697b90ba852f7eb42e0d7b890b9d5843382
/
.
/
skottie
/
modules
/
helpers
/
templates.ts
blob: 31af3d5bf1f6e1be3b5a7fdb6ec5576bdf0597d2 [
file
] [
log
] [
blame
]
import
{
TemplateResult
}
from
'lit-html'
;
import
{
isOneOfDomains
}
from
'./domains'
;
export
function
renderByDomain
(
template
:
TemplateResult
,
domains
:
string
[]
):
TemplateResult
|
null
{
return
isOneOfDomains
(
domains
)
?
template
:
null
;
}