export default {
    props: {
        title: {
            type: [String, Number],
            default: ''
        },
        content: {
            type: [String, Number],
            default: ''
        }
    },

    render() {
        return (
            <div class="yo-form-link">
                <div class="yo-form-link--title">
                    {this.$scopedSlots.default ? this.$scopedSlots.default() : this.title}
                </div>
                <div class="yo-form-link--content">
                    {this.$scopedSlots.content ? this.$scopedSlots.content() : this.content}
                </div>
                <a-icon type="right" class="yo-form-link--right-icon" />
            </div>
        )
    }
}