Skip to content

Commit

Permalink
Update packages/components/center/src/center.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: GaoNeng <[email protected]>
  • Loading branch information
SnowballXueQiu and GaoNeng-wWw authored Oct 2, 2024
1 parent b07f1c1 commit 7ea765c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/center/src/center.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import classes from './center.module.scss';

export const Center = (props: CenterProps) => {
const { children, inline, ...others } = props;
const { children, inline } = props;

const getDisplayType = () => {
return inline ? 'inline-flex' : 'flex';
Expand Down

0 comments on commit 7ea765c

Please sign in to comment.