RevertIcon->RevertButton

This commit is contained in:
Damien Elmes 2021-04-25 18:31:13 +10:00
parent e2a4d6041c
commit d6df6c0f89
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
--> -->
<script lang="ts"> <script lang="ts">
import RevertIcon from "./RevertIcon.svelte"; import RevertButton from "./RevertButton.svelte";
import HelpPopup from "./HelpPopup.svelte"; import HelpPopup from "./HelpPopup.svelte";
export let label: string; export let label: string;
@ -66,7 +66,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<div class="input-grid" class:full-grid-width={wholeLine}> <div class="input-grid" class:full-grid-width={wholeLine}>
<slot /> <slot />
<RevertIcon bind:value {defaultValue} on:revert /> <RevertButton bind:value {defaultValue} on:revert />
</div> </div>
<div class="full-grid-width"> <div class="full-grid-width">