callstack / callstack/react-native-paper
RadionButton doesn't seem to implement MD3
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
### Current behaviour
According to the MD3 spec (https://m3.material.io/components/radio-button/guidelines), `RadioButton` should have a different look-n-feel than it currently does. For example, in "leading" mode the label should follow the button after some margin but instead its right-aligned towards then end of the screen:
```tsx
```
### Expected behaviour
`RadioButton` should match the MD3 spec.
### How to reproduce?
Just use `RadioButton` and compare it to the MD3 spec.
### Preview

### What have you tried so far?
Tried different combinations of `RadioButton.Group`, `RadioButton`, and `RadioButton.Android`.
### Your Environment
| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | 0.71.14
| react-native-paper | 5.11.4
| node | 18.16.1
| npm. | 9.5.1
| expo sdk | not used
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với các entry point RadioButton, RadioButton.Group, RadioButton.Item và RadioButton.Android, sau đó so sánh cách render hiện tại của chúng với các hướng dẫn về radio button của Material 3 được liên kết. Kiểm tra việc căn chỉnh nhãn ở vị trí đầu và các khác biệt trực quan khác được ghi lại giữa các biến thể được hỗ trợ; hoàn tất khi RadioButton khớp với hành vi MD3 được tham chiếu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- design, frontend, mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100