mirror of
https://github.com/SomboChea/ui
synced 2024-10-02 06:07:47 +07:00
17 lines
314 B
TypeScript
17 lines
314 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
import PackageList from '../../components/PackageList';
|
||
|
|
||
|
interface Props {
|
||
|
isUserLoggedIn: boolean;
|
||
|
packages: any[];
|
||
|
}
|
||
|
|
||
|
const Home: React.FC<Props> = ({ packages }) => (
|
||
|
<div className="container content">
|
||
|
<PackageList packages={packages} />
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
export default Home;
|