ant-design / ant-design/pro-components

👑 [需求] 为 CheckCard 添加不同颜色

Open
#8,696 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🥰 需求描述

checkCard暴露一个属性`color`, 几个基本色卡(红/黄/蓝/绿)就可以

### ⛰ 功能需求适用场景

作为选择题的时候, 显示为蓝色
显示答案的时候, 正确的选项显示为绿色
错误的选项显示为红色

Contributor guide

Open the contributing guide

Research direction

Start by locating the TypeScript/React CheckCard component and reviewing its current props and rendering entry point. Done means CheckCard exposes a color property supporting red, yellow, blue, and green for selection and answer states, with correct options green and incorrect options red.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.