Sha256: 61698972d27e655d79b442dfc5122fc81d60cfc40f952ce9146ef60a7ffb9acd

Contents?: true

Size: 602 Bytes

Versions: 7

Compression:

Stored size: 602 Bytes

Contents

<template>
  <div :class="{ 'pt-4': withHint, 'pt-4 pb-2': !withHint }">
    <div class="relative">
      <div class="absolute inset-0 flex items-center" aria-hidden="true">
        <div class="w-full border-t border-gray-200"></div>
      </div>
      <div class="relative flex justify-center">
        <span class="bg-white px-3 leading-6 text-gray-800">{{ text }}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'UIKitDivider',
  props: {
    text: { type: String, default: 'Text goes here' },
    withHint: { type: Boolean, default: false },
  },
}
</script>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maglevcms-1.7.3 app/frontend/editor/components/kit/divider.vue
maglevcms-1.7.2 app/frontend/editor/components/kit/divider.vue
maglevcms-1.7.1 app/frontend/editor/components/kit/divider.vue
maglevcms-1.7.0 app/frontend/editor/components/kit/divider.vue
maglevcms-1.6.1 app/frontend/editor/components/kit/divider.vue
maglevcms-1.6.0 app/frontend/editor/components/kit/divider.vue
maglevcms-1.5.1 app/frontend/editor/components/kit/divider.vue