fix: wrong word and cancel export inner interface (#34643)

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
This commit is contained in:
Long Hao (龙濠) 2022-03-22 10:32:54 +08:00 committed by GitHub
parent 0fe8bb9c37
commit 7c182926bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ export interface AffixProps {
children: React.ReactNode;
}
export interface InternalAffixProps extends AffixProps {
interface InternalAffixProps extends AffixProps {
affixPrefixCls: string;
}
@ -302,13 +302,13 @@ const AffixFC = React.forwardRef<Affix, AffixProps>((props, ref) => {
const affixPrefixCls = getPrefixCls('affix', customizePrefixCls);
const AffixProps: InternalAffixProps = {
const affixProps: InternalAffixProps = {
...props,
affixPrefixCls,
};
return <Affix {...AffixProps} ref={ref} />;
return <Affix {...affixProps} ref={ref} />;
});
if (process.env.NODE_ENV !== 'production') {