mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-12 17:14:19 +02:00
Add centering layout
This commit is contained in:
18
client/layouts/Centering.jsx
Normal file
18
client/layouts/Centering.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
|
||||
import DetailsLayout from '../DetailsLayout';
|
||||
import BrowserFrame from '../placeholders/BrowserFrame';
|
||||
|
||||
const Centering = () => {
|
||||
return (
|
||||
<DetailsLayout name="Centering">
|
||||
<BrowserFrame>
|
||||
<div className="h-100 flex flex-column items-center justify-center">
|
||||
<div className="f1 b">CENTER</div>
|
||||
</div>
|
||||
</BrowserFrame>
|
||||
</DetailsLayout>
|
||||
);
|
||||
};
|
||||
|
||||
export default Centering;
|
Reference in New Issue
Block a user