callstack / callstack/react-theme-provider

Something is definitely wrong with <ThemeProvider>'s typings 👀

未关闭
#139 1 条评论 12 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
467
派生
53
PR 合并指标
30 天内没有已合并 PR

描述

## Description

image

BTW i don't really understand what for this component is needed
Everything seems to work fine even without it

withTheme() HOC kinda provides theming 🤷🏼‍♂️


## Reproducible Demo

I've reproduced this issue on CodeSandbox
Come check that out 👇

[sandbox 🎁](https://codesandbox.io/s/theme-provider-issue-n602nb)

贡献指南

打开贡献指南

调研方向

从链接的 CodeSandbox 复现开始,检查其中展示的 ThemeProvider typings 和用法。确认哪种 typing 行为是不正确的,并在进行任何更改之前定义预期的 ThemeProvider 用法;当复现不再报告 typing 问题时,该 issue 即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。