Skip to content

Advanced Props with TypeScript#88

Merged
arvish-codal merged 1 commit intomainfrom
5_June
Jun 5, 2024
Merged

Advanced Props with TypeScript#88
arvish-codal merged 1 commit intomainfrom
5_June

Conversation

@arvish-codal
Copy link
Copy Markdown
Owner

  1. Union of string literals
  2. Children prop
  3. Children prop where the type is React.ReactNode (i.e a React Component)
  4. Optional Props

@arvish-codal arvish-codal merged commit 9499ed0 into main Jun 5, 2024
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