mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
RevertIcon->RevertButton
This commit is contained in:
parent
e2a4d6041c
commit
d6df6c0f89
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue