mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
831 B
831 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 |
---|---|---|---|
title | string |
null |
|
content-style | object | string |
null |
|
header-style | object | string |
null |
|
segmented | boolean | { [part in 'content' | 'footer' | 'action']?: boolean | 'soft' | 'hard' } |
false |
|
size | 'small' | 'medium' | 'large' | 'huge' |
'medium' |
|
bordered | boolean |
true |
|
closable | boolean |
false |
|
theme | 'light' | 'dark' |
null |
|
themed-style | { [themeName: string]: object } |
null |
Events
Name | Parameters | Description |
---|---|---|
close | () |
Slots
Name | Parameters | Description |
---|---|---|
cover | () |
|
header | () |
|
header-extra | () |
|
default | () |
|
footer | () |
|
action | () |