소스 검색

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
 const (
-	TextStyleShort     TextStyleType = 1
-	TextStyleParagraph TextStyleType = 2
+	TextInputShort     TextStyleType = 1
+	TextInputParagraph TextStyleType = 2
 )