Render child element.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从 Switch 组件的入口点开始,将其当前的渲染行为与 issue 中的子组件示例进行比较。跟踪 onlabel 和 offlabel 内容的选择方式,然后验证嵌套图像或其他子元素可以代替文本标签进行渲染。示例能够正确渲染且不破坏现有标签行为,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Component is not able to render a child component, for example an image inside instead of a lable.
Example:
<Switch
checked={this.state.checked}
onChange={this.handleChangeRadio}
onstyle="success"
onlabel=" "
offlabel=" "
offstyle="light"
size="xs"
>
<img src={require("../assets/link.png")} />
</Switch>;
- 主要语言
- CSS
- 星标
- 19
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gitbrent/bootstrap-switch-button-react 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
gitbrent/bootstrap-switch-button-react#23 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 25/100
gitbrent/bootstrap-switch-button-react#68 · 2 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 20/100
-
难度 4/5 3-5 天 新手友好度 25/100
查看 gitbrent/bootstrap-switch-button-react 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
bug quarto-hub
难度 2/5 1-3 小时 新手友好度 75/100
quarto-dev/q2#721 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
frontend maui-pilot pilot-ask question
难度 2/5 1-3 小时 新手友好度 75/100