fix(types): fix ignore native types when export types manually

This commit is contained in:
unix
2020-04-05 03:53:36 +08:00
parent 4bd6f11468
commit 535feb2be3
13 changed files with 13 additions and 13 deletions

View File

@@ -145,7 +145,7 @@ type ButtonDropdownComponent<P = {}> = React.FC<P> & {
Item: typeof ButtonDropdownItem
}
type ComponentProps = Partial<typeof defaultProps> & Omit<Props, keyof typeof defaultProps>
type ComponentProps = Partial<typeof defaultProps> & Omit<Props, keyof typeof defaultProps> & NativeAttrs
export default ButtonDropdown as ButtonDropdownComponent<ComponentProps>