import styles from './styles/App.module.scss'

function Person({ name, age }) {
    return (
        <div className={styles.container}>
            <p>Имя: {name}</p>
            <p>Возраст: {age}</p>
        </div>
    )
}

function App() {
    const options = {title:'Меню', width: 100, height: 200}
    let {width, title, height} = options;
    console.log(title);
    console.log(width);
    console.log(height);
	return (
		<>
            <Person name="Alex" age={28} />
            <Person name="Bob" age={35} />
		</>
	)
}

export default App
