Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stubs.js « shared « registry « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad41eb42df4904992c0ed7c35fbb3222420330df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>
`,
};

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>`,
};