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

chore: add ReactNode type #270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kyle-ssg
Copy link
Member

@kyle-ssg kyle-ssg commented Nov 6, 2024

Replaces React.ReactElement[] | React.ReactElement in favour of React.ReactNode

@kyle-ssg kyle-ssg changed the title Add ReactNode type chore: add ReactNode type Nov 6, 2024
@kyle-ssg kyle-ssg linked an issue Nov 6, 2024 that may be closed by this pull request
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.

Children type should be ReactNode instead of ReactElement
1 participant