[improvement] icon: tsx (#2767)

This commit is contained in:
neverland
2019-02-17 08:39:05 +08:00
committed by GitHub
parent 2ebcf2a36a
commit a6a733f735
2 changed files with 19 additions and 5 deletions

View File

@@ -29,7 +29,10 @@ export type FunctionalComponent<
(
h: CreateElement,
props: Props,
slots: { [key: string]: ScopedSlot | undefined },
slots: {
[key: string]: ScopedSlot | undefined
default: ScopedSlot | undefined
},
context: RenderContext<Props>
): VNode;
props?: PropDefs;