import { use, isDef } from '../utils'; import { cellProps } from './shared'; import { emit, inherit, unifySlots } from '../utils/functional'; import { routeProps, functionalRoute } from '../mixins/router-link'; import Icon from '../icon'; const [sfc, bem] = use('cell'); export default sfc({ functional: true, props: { ...cellProps, ...routeProps, size: String, clickable: Boolean, arrowDirection: String }, render(h, context) { const slots = unifySlots(context); const { props } = context; const { icon, size, title, label, value, isLink, arrowDirection } = props; const showTitle = slots.title || isDef(title); const showValue = slots.default || isDef(value); const Title = showTitle && (