Fix code style

This commit is contained in:
Wei Zhu 2017-11-22 12:16:19 +08:00
parent 541b9d146a
commit d2b59938b8

View File

@ -89,13 +89,13 @@ export default class Affix extends React.Component<AffixProps, AffixState> {
[key: string]: any;
} = {};
private fixedNode: HTMLElement;
state: AffixState = {
affixStyle: undefined,
placeholderStyle: undefined,
};
private fixedNode: HTMLElement;
setAffixStyle(e: any, affixStyle: React.CSSProperties | null) {
const { onChange = noop, target = getDefaultTarget } = this.props;
const originalAffixStyle = this.state.affixStyle;