Skip to content

卡片

基于 naive-ui 的card二次封装。

INFO

无需引入,可直接使用

Usage

vue
<template>
  <w-card>this is card content</w-card>
</template>

Props

名称类型默认值说明
collapsebooleanfalse卡片是否显示折叠图标

Type

ts
import type { CardProps } from 'naive-ui'

import { props } from './props'

type ExtendProps = Partial<ExtractPropTypes<typeof props>>

export interface WCardProps extends CardProps, ExtendProps {}

基于 MIT 许可发布