open-consul/ui/packages/consul-ui/app/components/radio-group
John Cowen 26be113b5d
ui: Colocate remaining CSS components to the app/components folder (#10328)
2021-06-23 09:19:35 +01:00
..
README.mdx
index.hbs
index.js
index.scss
layout.scss
pageobject.js
skin.scss

README.mdx

---
class: ember
state: needs-love
---
# radio-group

A component for creating horizontally laid out radio groups. It seems like we
do not use the Ember component at all, but we do use the CSS component here,
so we should look at this and decide exactly what to use, and whether it needs
refactoring/deprecating.

```hbs preview-template
<RadioGroup @items={{
  array
  (hash
    key="value-1"
    value="Value 1"
  )
  (hash
    key="value-2"
    value="Value 2"
  )
}} />
```


```css
[role="radio-group"] {
  @extend %radio-group;
}
```