debian-mirror-gitlab/spec/frontend/packages_and_registries/shared/stubs.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
595 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
export const GlLoadingIcon = { name: 'gl-loading-icon-stub', template: '<svg></svg>' };
export const GlCard = {
name: 'gl-card-stub',
template: `
<div>
<slot name="header"></slot>
<slot></slot>
<slot name="footer"></slot>
</div>
`,
};
2021-02-22 17:27:13 +05:30
export const GlFormGroup = {
name: 'gl-form-group-stub',
props: ['state'],
template: `
<div>
<slot name="label"></slot>
<slot></slot>
<slot name="description"></slot>
</div>`,
};
export const GlFormSelect = {
name: 'gl-form-select-stub',
props: ['disabled', 'value'],
template: `
<div>
<slot></slot>
</div>`,
};