protected override void OnInitialized() { string prefixCls = "ant-radio-group"; ClassMapper.Add(prefixCls) .If($"{prefixCls}-large", () => Size == "large") .If($"{prefixCls}-small", () => Size == "small") .If($"{prefixCls}-{ButtonStyle}", () => ButtonStyle.IsIn("outline", "solid")); base.OnInitialized(); }