mirror of
https://github.com/pawelmalak/snippet-box.git
synced 2025-12-21 21:33:10 +01:00
Initial commit. Added some UI components
This commit is contained in:
11
client/src/components/UI/Layout.tsx
Normal file
11
client/src/components/UI/Layout.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
interface Props {
|
||||
children: JSX.Element | JSX.Element[];
|
||||
}
|
||||
|
||||
export const Layout = (props: Props): JSX.Element => {
|
||||
return (
|
||||
<div className='container'>
|
||||
<div className='row pt-4'>{props.children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user