<template>
	<div class="tabs">
		<a-tabs @change="tabChange" type="card">
			<slot></slot>
		</a-tabs>
	</div>
</template>

<script>
	export default {
		name: 'tabs-card',
		data() {
			return {}
		},
		methods: {
			tabChange(key) {
				this.$emit('tabChange', key)
			}
		}
	}
</script>
