# Cell
A cell to display list, link or form.
# Import
import { cell } from "deft-ui";
Vue.component(cell.name, cell);
# Example
Basic usage
Copy
Clickable link
Copy
With icon
Copy
With custom icon
icon 是图片

Copy
Custom content
这里是元素
Copy
With description
Copy
# API
option | description | type | acceptable values | default |
---|---|---|---|---|
icon | cell icon | String | back, more | |
title | title of the cell | String | ||
to | link | String | ||
value | content of the cell | * | ||
label | a description shown underneath the title | String | ||
is-link | if the cell is a link, works with the to attribute | Boolean |
# Slot
name | description |
---|---|
- | custom content |
title | custom title |
icon | custom icon |