Skip to content

Add Greeting component to display a personalized welcome message - #1

Open
SyedArslanHaider wants to merge 4 commits into
mainfrom
feat/greeting
Open

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

Conversation

@SyedArslanHaider

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread 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
Copy Markdown
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.

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

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

Copy link
Copy Markdown
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.

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

Copy link
Copy Markdown
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

Comment thread src/Greeting.jsx
@@ -0,0 +1,5 @@
function Greeting({ name }) {

Copy link
Copy Markdown
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