-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I am running into a problem that I dont think is how it used to work, but not sure.
Given my component.
import Vue, { VNode } from 'vue';
import * as tsx from "vue-tsx-support";
import { Component, Prop, Watch } from 'vue-property-decorator';
export interface SiHomeSectionTags {
title: string;
}
@Component
export default class SiHomeSection extends tsx.Component<SiHomeSectionTags>{
@Prop()
title!: string;
render() {
return [
<header class="fxs-home-title" aria-label={this.title}>{this.title}</header>,
<div class="fxs-home-section">
{this.$slots.default}
</div>
];
}
}
i cant use title as an attribute, but have to use props= - is that intended?
Metadata
Metadata
Assignees
Labels
No labels
