feat(RadioGroup): handle horizontal orientation (#74)

This commit is contained in:
Silver343
2024-04-22 13:14:51 +01:00
committed by GitHub
parent e1ab903109
commit 814437255e
6 changed files with 136 additions and 75 deletions

View File

@@ -23,6 +23,7 @@ describe('RadioGroup', () => {
...colors.map((color: string) => [`with color ${color}`, { props: { options, color } }]),
['with class', { props: { options, class: 'absolute' } }],
['with ui', { props: { ui: { options, wrapper: 'ms-4' } } }],
['with orientation', { props: { options, orientation: 'horizontal' } }],
// Slots
['with legend slot', { props: { options }, slots: { label: () => 'Legend slot' } }],
['with label slot', { props: { options }, slots: { label: () => 'Label slot' } }],