19 lines
456 B
TypeScript
19 lines
456 B
TypeScript
import Divider from "@/components/TempDesignSystem/Divider"
|
|
|
|
import NextLevel from "./NextLevel"
|
|
import Points from "./Points"
|
|
|
|
import styles from "./stats.module.css"
|
|
|
|
import type { UserProps } from "@/types/components/myPages/user"
|
|
|
|
export default function Stats({ user }: UserProps) {
|
|
return (
|
|
<section className={styles.stats}>
|
|
<Points user={user} />
|
|
<Divider variant="default" />
|
|
<NextLevel user={user} />
|
|
</section>
|
|
)
|
|
}
|