<script>
	import { onMount } from 'svelte';

	export let value;
	export let id;

	const initialValues = {
		'id-0': 'zero',
		'id-1': 'one',
		'id-2': 'two',
		'id-3': 'three'
	};

	onMount(() => {
		value = initialValues[id];
	});
</script>

<li>
	<slot></slot>
</li>