dbgate/packages/web/src/dbkeyvalue/DbKeyItemDetail.svelte
2022-03-27 17:45:05 +02:00

23 lines
414 B
Svelte

<script lang="ts">
import _ from 'lodash';
import DbKeyValueDetail from './DbKeyValueDetail.svelte';
export let dbKeyFields;
export let item;
export let onChangeItem = null;
</script>
<div class="props">
{#each dbKeyFields as column}
<DbKeyValueDetail {item} {column} {onChangeItem} />
{/each}
</div>
<style>
.props {
flex: 1;
display: flex;
flex-direction: column;
}
</style>