<script lang="ts">
    import details from "./../widgets/details"

    export let entry: TibiArticle
</script>

{#if entry}
    <svelte:component this="{details[entry?.article?.general?.type] || details.default}" entry="{entry}" />
{/if}
