feat(core): adjust attrs fallthrough behavior

This commit is contained in:
Evan You
2019-10-25 12:12:17 -04:00
parent d76cfba7fb
commit 8edfbf9df9
8 changed files with 175 additions and 26 deletions

View File

@@ -37,6 +37,7 @@ export type Data = { [key: string]: unknown }
export interface FunctionalComponent<P = {}> {
(props: P, ctx: SetupContext): VNodeChild
props?: ComponentPropsOptions<P>
inheritAttrs?: boolean
displayName?: string
}