From 147703db8e8d13f5099d56af059aa0c8267f28ae Mon Sep 17 00:00:00 2001 From: Fedor Lapshin Date: Wed, 9 Feb 2022 03:58:16 +0300 Subject: [PATCH] feat(components): renamed TextStyleType to TextInputStyleType --- components.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components.go b/components.go index 6c68de8..b2943c5 100644 --- a/components.go +++ b/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 )