From 52a577df0d8e6e595a3fcb1fb0512a3197427ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Tue, 27 Dec 2022 10:49:52 +0100 Subject: [PATCH] Refactor the ButtonType enum --- src/Connected.Components/Enums/ButtonType.cs | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/Connected.Components/Enums/ButtonType.cs b/src/Connected.Components/Enums/ButtonType.cs index 6b3a613..7982d09 100644 --- a/src/Connected.Components/Enums/ButtonType.cs +++ b/src/Connected.Components/Enums/ButtonType.cs @@ -1,14 +1,8 @@ -using System.ComponentModel; +namespace Connected; -namespace Connected +public enum ButtonType { - public enum ButtonType - { - [Description("button")] - Button, - [Description("submit")] - Submit, - [Description("reset")] - Reset - } + Button, + Submit, + Reset }