mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 06:36:00 +00:00
SYNC: fragment shots
This commit is contained in:
committed by
Diflow
parent
85b72af3bb
commit
d539912762
@@ -16,6 +16,7 @@
|
||||
export let isInline = false;
|
||||
export let containerMaxWidth = undefined;
|
||||
export let flex1 = true;
|
||||
export let contentTestId = undefined;
|
||||
|
||||
export function setValue(index) {
|
||||
value = index;
|
||||
@@ -39,7 +40,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<div class="content-container" data-testid={contentTestId}>
|
||||
{#each _.compact(tabs) as tab, index}
|
||||
<div class="container" class:isInline class:tabVisible={index == value} style:max-width={containerMaxWidth}>
|
||||
<svelte:component this={tab.component} {...tab.props} tabControlHiddenTab={index != value} />
|
||||
|
||||
Reference in New Issue
Block a user