consul/ui/packages/consul-ui/app/components/radio-group
Ronald 9d21736e9f
Add UI copyright headers files (#16614)
* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
2023-03-14 09:18:55 -04:00
..
README.mdx ui: Colocate remaining CSS components to the app/components folder (#10328) 2021-06-23 09:19:35 +01:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
layout.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
pageobject.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
skin.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00

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;
}
```