mirror of
https://github.com/dbgate/dbgate
synced 2024-11-15 00:06:30 +00:00
23 lines
414 B
Svelte
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>
|