Skip to content

🔨 Fix add generics support for useTheme#5396

Open
shubham-sri wants to merge 1 commit intoGeekyAnts:masterfrom
shubham-sri:fix/useTheme_add_type
Open

🔨 Fix add generics support for useTheme#5396
shubham-sri wants to merge 1 commit intoGeekyAnts:masterfrom
shubham-sri:fix/useTheme_add_type

Conversation

@shubham-sri
Copy link
Copy Markdown

Summary

Using a custom theme, I always write const theme = useTheme() as ThemeType. But If we incorporate the generics, we can easily use custom types as const theme = useTheme<ThemeType>().

Changelog

1d45a48 - 🔨 Fix add generics support for useTheme

@auto-assign auto-assign Bot requested a review from surajahmed September 22, 2022 08:33
@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 22, 2022

@shubham-sri is attempting to deploy a commit to the Geekyants Team Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant