import { CSSProperties } from 'react' type PointsProps = { points?: number } const styles = { container: { paddingBottom: 8, } as CSSProperties, points: { float: 'right', } as CSSProperties, } function Points({ points }: PointsProps) { return (
Набрано очков: {points}
) } export default Points