diff --git a/projects/components/src/radio/radio-group.component.scss b/projects/components/src/radio/radio-group.component.scss index 7d6554d30..1539e9887 100644 --- a/projects/components/src/radio/radio-group.component.scss +++ b/projects/components/src/radio/radio-group.component.scss @@ -8,6 +8,16 @@ } .radio-group { + display: flex; + + &.row { + flex-direction: row; + } + + &.column { + flex-direction: column; + } + ::ng-deep .radio-button { line-height: 18px; padding-right: 10px; diff --git a/projects/components/src/radio/radio-group.component.ts b/projects/components/src/radio/radio-group.component.ts index 44aa6391f..1bfcc3fd5 100644 --- a/projects/components/src/radio/radio-group.component.ts +++ b/projects/components/src/radio/radio-group.component.ts @@ -11,6 +11,7 @@ import { RadioOption } from './radio-option'; = new EventEmitter(); @@ -63,3 +67,8 @@ export class RadioGroupComponent implements OnInit { this.selectedChange.emit(event.value); } } + +export const enum OptionsDirection { + Row = 'row', + Column = 'column' +}