<script>
	export let a;
	export let c;
	export let d;
</script>

<div {...a} data-b="b" {...c} data-d={d} >test</div>