forked from UKSOURCE/hailearning.edu.vn
build ui header, footer, home page, about page
This commit is contained in:
17
app/components/layout/Container.tsx
Normal file
17
app/components/layout/Container.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
interface ContainerProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
fluid?: boolean;
|
||||
}
|
||||
|
||||
const Container: React.FC<ContainerProps> = ({ children, className = '', fluid = false }) => {
|
||||
return (
|
||||
<div className={`${fluid ? 'container-fluid' : 'container'} ${className}`}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Container;
|
||||
Reference in New Issue
Block a user