Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowballXueQiu authored Oct 2, 2024
1 parent 7424e3b commit 838029b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/docs/components/center/center.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
import React from 'react';
import { Center } from '@qwqui/core';

export default function Example() {
const App = () => {
return (
<Center>
<span>Your content here</span>
</Center>
)
);
};

export default App;
```


Expand All @@ -21,4 +23,4 @@ export default function Example() {
| 名称 | 类型 | 介绍 |
|---|---|---|
| children | `React.ReactNode` | 要居中的内容。 |
| inline | `boolen` | 如果为`true`,那么`display`属性则为`inline-flex`,否则`display`属性则为`false` |
| inline | `boolen` | 如果为`true`,那么`display`属性则为`inline-flex`,否则`display`属性则为`false` |

0 comments on commit 838029b

Please sign in to comment.