Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header component #21

Closed
itmarck opened this issue Mar 10, 2024 · 0 comments · Fixed by #22
Closed

Header component #21

itmarck opened this issue Mar 10, 2024 · 0 comments · Fixed by #22
Assignees

Comments

@itmarck
Copy link
Member

itmarck commented Mar 10, 2024

Pass the elements the component needs from props and use it in the component. Examples: title, subtitle (for the name of the user), avatar (for the image), onAvatarClick, and others if needed.

For now, create the Header instance in the Home page and pass the user info from the useGlobalStore.

@itmarck itmarck closed this as completed Mar 13, 2024
@itmarck itmarck linked a pull request Mar 13, 2024 that will close this issue
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 a pull request may close this issue.

2 participants