Объясните выбор названий классов для некоторых компонентов
Open
- Dominant language
- TypeScript
- Stars
- 356
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Почему используются названия .Button2, .Select2, .Popup2, вместо привычных .Button, .Select, .Popup ?
Это из-за возможности добавить [дополнительный класс](https://github.com/bem/yandex-ui/blob/master/src/components/Button/Button.tsx#L125) через prop `className` ?
Contributor guide
Research direction
Start by reading src/components/Button/Button.tsx around line 125, then compare the Button2, Select2, and Popup2 component names mentioned in the issue. Done means the project’s rationale for these names, including whether className affects the choice, is clearly explained in the issue or relevant documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100