Hi there! I'm running into an issue where the exported type definition differs from the type definition of the actual component. For instance, if I hover over the Box component where it's being defined, I get the following type definition:
constBox: React.ForwardRefExoticComponent<Pick<BoxProps,keyofCommonProps|"translate"|StandardSystemKeys|"slot"|"title"|"children"|"component"|"sx"|"key"| ... 246more ... |"onTransitionEndCapture">&React.RefAttributes<...>>
But after I've run microbundle build the definition for Box is missing all the props:
declareconstBox: React.ForwardRefExoticComponent<Pick<any,string|number|symbol>&React.RefAttributes<unknown>>;
Any ideas why that might be?
Hi there! I'm running into an issue where the exported type definition differs from the type definition of the actual component. For instance, if I hover over the
Boxcomponent where it's being defined, I get the following type definition:But after I've run
microbundle buildthe definition forBoxis missing all the props:Any ideas why that might be?