We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For production build need strip internal types from declaration:
current behaviour
export declare const withWidthAuto: { <K extends import("@bem-react/core").IClassNameProps = {}>(WrappedComponent: import("react").ComponentType<IButtonWidthAutoProps & K>): (props: IButtonWidthAutoProps & K) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>; __isSimple: boolean; __blockName: string; __mod: string; __value: string | number | boolean | undefined; __passToProps: boolean; };
expected behaviour
export declare const withWidthAuto: <K extends import("@bem-react/core").IClassNameProps = {}>(WrappedComponent: import("react").ComponentType<IButtonWidthAutoProps & K>) => (props: IButtonWidthAutoProps & K) => import("react").ReactElement<any, string \| ((props: any) => import("react").ReactElement<any, any> \| null) \| (new (props: any) => import("react").Component<any, any, any>)>;
The text was updated successfully, but these errors were encountered:
sergcen
No branches or pull requests
Info
For production build need strip internal types from declaration:
current behaviour
expected behaviour
The text was updated successfully, but these errors were encountered: