Skip to content

Comments

Add Greeting component to display a personalized welcome message#1

Open
SyedArslanHaider wants to merge 4 commits intomainfrom
feat/greeting
Open

Add Greeting component to display a personalized welcome message#1
SyedArslanHaider wants to merge 4 commits intomainfrom
feat/greeting

Conversation

@SyedArslanHaider
Copy link
Collaborator

No description provided.

src/App.jsx Outdated
@@ -2,13 +2,15 @@ import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs tobe cleared.
Kindly delete it.

src/App.jsx Outdated
import Greeting from './Greeting';

function App() {
const [count, setCount] = useState(0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly clear this useState.It is not being used.

src/App.jsx Outdated
<>
<div>
<Greeting name="Arslan Haider"/>
<a href="https://vite.dev" target="_blank">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly clear this too

@@ -0,0 +1,5 @@
function Greeting({ name }) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is your styling for this component?
Kindly add your styling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants