浏览代码

feat(components): renamed TextStyleType to TextInputStyleType

Fedor Lapshin 3 年之前
父节点
当前提交
147703db8e
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      components.go

+ 4 - 4
components.go

@@ -229,11 +229,11 @@ func (m TextInput) MarshalJSON() ([]byte, error) {
 	})
 	})
 }
 }
 
 
-// TextStyleType is style of text in TextInput component.
-type TextStyleType uint
+// TextInputStyleType is style of text in TextInput component.
+type TextInputStyleType uint
 
 
 // Text styles
 // Text styles
 const (
 const (
-	TextStyleShort     TextStyleType = 1
-	TextStyleParagraph TextStyleType = 2
+	TextInputShort     TextStyleType = 1
+	TextInputParagraph TextStyleType = 2
 )
 )