Skip to content

Commit c5c822f

Browse files
committed
fix: space not work
1 parent 8ed9373 commit c5c822f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/space/index.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const SpaceProps = {
2121
align: PropTypes.oneOf(['start', 'end', 'center', 'baseline']),
2222
};
2323

24-
const ASpace = (props, { slots }) => {
24+
const Space = (props, { slots }) => {
2525
const configProvider = inject('configProvider', ConfigConsumerProps);
2626
const { align, size, direction, prefixCls: customizePrefixCls } = props;
2727

@@ -67,13 +67,13 @@ const ASpace = (props, { slots }) => {
6767
</div>
6868
);
6969
};
70-
ASpace.props = initDefaultProps(SpaceProps, {
70+
Space.props = initDefaultProps(SpaceProps, {
7171
size: 'small',
7272
direction: 'horizontal',
7373
});
7474

7575
/* istanbul ignore next */
76-
ASpace.install = function(app) {
77-
app.component(ASpace.name, ASpace);
76+
Space.install = function(app) {
77+
app.component('ASpace', Space);
7878
};
79-
export default ASpace;
79+
export default Space;

0 commit comments

Comments
 (0)