feat(components): renamed TextStyleType to TextInputStyleType

This commit is contained in:
Fedor Lapshin 2022-02-09 03:58:16 +03:00 committed by GitHub
parent dcf6fe0128
commit 147703db8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
)