RadioButton

fun RadioButton(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, sizeType: RadioButtonSize = RadioButtonSize.Medium, text: String = "", enabled: Boolean = true, contentColor: Color = HandyTheme.colors.buttonRadioSelected)

단일 선택을 나타낼 수 있는 RadioButton입니다.

Parameters

checked

RadioButton의 선택 유무

onCheckedChange

RadioButton의 선택 상태가 변경될 때 호출되는 함수

modifier

RadioButton에 대한 선택적 Modifier

sizeType

RadioButton의 크기에 따른 텍스트의 타이포, 아이콘 사이즈 설정. 기본값은 Medium

text

RadioButton 옆에 표시되는 텍스트

enabled

RadioButton의 활성화 유무

contentColor

RadioButton의 아이콘 색상