<template>
    <div :class="`buttonPanel ${dir}`">
        <slot></slot>
    </div>
</template>

<script>
export default {
    name: 'ButtonPanel',
    props: {
        dir: {
            type: String,
            default: 'right',
            validate: function(v) {
                return ['left', 'center', 'right'].includes(v)
            }
        }
    }
}
</script>
