naive-ui/demo/documentation/components/card/enUS/segment.md
2019-11-18 11:34:18 +08:00

422 B

Segmented

header, content, footer and action can be hard or soft segmented.

<n-card title="Card Segmented Demo" :segmented="{
  header: 'soft',
  content: 'hard',
  footer: 'hard'
}">
  <template v-slot:header-extra>
    v-slot:header-extra
  </template>
  Card content
  <template v-slot:footer>
    v-slot:footer
  </template>
  <template v-slot:action>
    v-slot:action
  </template>
</n-card>