bem / bem/bem-components

Added field `mix` to the options in radio-group/checkbox-group

Open
#1,868 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
330
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Example:

```
{
block : 'radio-group',
mods : { theme : 'islands', size : 'm', type : 'button' },
name : 'radio-button',
options : [
{ val : 1, text : 'Футбол' },
{ val : 2, text : 'Баскетбол' },
{ val : 3, text : 'Гандбол' }
].map(item => { ...item, mix : { block : 'some-parent', elem : 'radio' } } )
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.