mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-06 04:01:57 +02:00
21 lines
474 B
TypeScript
21 lines
474 B
TypeScript
import React from 'react';
|
|
|
|
/**
|
|
* Body Component.
|
|
* @param {{children: JSX.Element}} param0 BodyComponent props.
|
|
* @return {JSX.Element}
|
|
*/
|
|
export const BodyComponent = ({
|
|
children,
|
|
}: {
|
|
children: JSX.Element;
|
|
}): JSX.Element => {
|
|
return (
|
|
<React.Fragment>
|
|
<section className="min-h-screen bg-light-200">
|
|
<div className="md:container md:mx-auto">{children}</div>
|
|
</section>
|
|
</React.Fragment>
|
|
);
|
|
};
|