summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/components/svg_message.vue
blob: d0d44bf2d14a05a2ed71df42c2522ec0ffc88ec8 (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
<script>
export default {
  name: 'RegistrySvgMessage',
  props: {
    id: {
      type: String,
      required: true,
    },
    svgPath: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <div :id="id" class="empty-state container-message mw-70p">
    <div class="svg-content">
      <img :src="svgPath" class="flex-align-self-center" />
    </div>
    <slot></slot>
  </div>
</template>