import Vue, { VNode, CreateElement } from 'vue' import { Component } from 'vue-property-decorator' import { isDefined } from '../../utils/index' @Component export default class ColorPickerDetail extends Vue { render(h: CreateElement): VNode { const { value, detail } = this.$attrs as any const { value: forceValue } = detail const content = isDefined(forceValue) ? forceValue : value return (
{content}
) } }