refactor(modal): use class directive

This commit is contained in:
Eric Liu 2021-02-03 09:56:27 -08:00
commit ea4420e323

View file

@ -174,7 +174,7 @@
type="button" type="button"
aria-label="{iconDescription}" aria-label="{iconDescription}"
title="{iconDescription}" title="{iconDescription}"
class="bx--modal-close" class:bx--modal-close="{true}"
on:click="{() => { on:click="{() => {
open = false; open = false;
}}" }}"