Commit c6f45e7d authored by Mark Florian's avatar Mark Florian

Merge branch 'add-mocks-for-popover' into 'master'

Mock gitlab-ui popover directive and component

See merge request gitlab-org/gitlab!27995
parents a9fd5f4e 91370ecd
...@@ -17,3 +17,20 @@ export const GlTooltip = { ...@@ -17,3 +17,20 @@ export const GlTooltip = {
return h('div', this.$attrs, this.$slots.default); return h('div', this.$attrs, this.$slots.default);
}, },
}; };
export const GlPopoverDirective = {
bind() {},
};
export const GlPopover = {
props: {
cssClasses: {
type: Array,
required: false,
default: () => [],
},
},
render(h) {
return h('div', this.$attrs, this.$slots.default);
},
};
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