diff --git a/src/components/VueTabs.js b/src/components/VueTabs.js index d48c21c..eca65b4 100644 --- a/src/components/VueTabs.js +++ b/src/components/VueTabs.js @@ -12,12 +12,12 @@ export default { type: String, default: 'center' }, - /** - * Tab type: tabs | pills - */ type: { type: String, - default: 'tabs' + default: 'tabs', + validator: function (value) { + return ['tabs', 'pills'].indexOf(value) !== -1 + } }, direction: { type: String,