mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
842 B
842 B
Card
Some amatuer UI designers like to apply shadow on every cards.
Demos
basic
size
cover
slots
border
segment
closable
Props
Name | Type | Default | Description |
---|---|---|---|
bordered | boolean |
true |
|
closable | boolean |
false |
|
content-style | Object | string |
undefined |
|
header-style | Object | string |
undefined |
|
segmented | boolean | { [part in 'content' | 'footer' | 'action']?: boolean | 'soft' | 'hard' } |
false |
|
size | 'small' | 'medium' | 'large' | 'huge' |
'medium' |
|
themed-style | { [themeName: string]: Object } |
undefined |
|
theme | 'light' | 'dark' | string |
undefined |
|
title | string |
undefined |
|
on-close | () => any |
undefined |
Slots
Name | Parameters | Description |
---|---|---|
cover | () |
|
header | () |
|
header-extra | () |
|
default | () |
|
footer | () |
|
action | () |