Commit a6e10ea3 authored by Alexander Turinske's avatar Alexander Turinske

Add inject validation and defaults

parent 89a7f4a4
...@@ -10,7 +10,10 @@ export default { ...@@ -10,7 +10,10 @@ export default {
GlLink, GlLink,
GlSprintf, GlSprintf,
}, },
inject: ['documentationPath', 'emptyStateSvgPath'], inject: {
documentationPath: { type: String, default: '' },
emptyStateSvgPath: { type: String, default: '' },
},
}; };
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment