mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-24 04:15:54 +08:00
fix(types): fix ignore native types when export types manually
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user